diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-30 18:32:41 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:21 -0800 |
commit | b8e8298f3d2ad9f531bd22aa7c41d794d6c98fa5 (patch) | |
tree | c9a4e7a1c53a475ea83fc821839bb3fcf1e4625d /emscripten.py | |
parent | efb3f8730534feb314b41830d679730bcff91cd9 (diff) |
fix testing closure
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index e44d5455..1c30f226 100755 --- a/emscripten.py +++ b/emscripten.py @@ -365,7 +365,7 @@ Runtime.stackRestore = function(top) { asm.stackRestore(top) }; if DEBUG: print >> sys.stderr, ' emscript: phase 3 took %s seconds' % (time.time() - t) if settings.get('ASM_JS'): - outfile.write('})()\n'); + outfile.write('}).apply(null, arguments);\n'); outfile.close() |