diff options
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() |