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 8ffdf458..248d0ce4 100755 --- a/emscripten.py +++ b/emscripten.py @@ -456,7 +456,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None, asm_setup += ''' function invoke_%s(%s) { try { - %sModule.dynCall_%s(%s); + %sModule["dynCall_%s"](%s); } catch(e) { if (typeof e !== 'number' && e !== 'longjmp') throw e; asm["setThrew"](1, 0); |