diff options
author | alon@honor <none@none> | 2010-09-04 21:39:06 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-04 21:39:06 -0700 |
commit | cd668dc906a4225032273b47f4745756fa8c0aed (patch) | |
tree | 6052ba5bebb3c7eef120e53e915542ec46cad0bc /src/snippets.js | |
parent | c3d043f32921b28dee20c5b68e0c1424d266b2a3 (diff) |
atexit +test
Diffstat (limited to 'src/snippets.js')
-rw-r--r-- | src/snippets.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/snippets.js b/src/snippets.js index f2fa9440..a97321f9 100644 --- a/src/snippets.js +++ b/src/snippets.js @@ -11,5 +11,9 @@ var Snippets = { if (HEAP[dst+i] == 0) break; } }, + + _atexit: function(func) { + __ATEXIT__.push(func); + }, }; |