diff options
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js index 54aea3ef..8fe3b65d 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -4,7 +4,7 @@ var initialStackTop; var inMain; -Module['callMain'] = function callMain(args) { +Module['callMain'] = Module.callMain = function callMain(args) { assert(runDependencies == 0, 'cannot call main when async dependencies remain! (listen on __ATMAIN__)'); assert(!Module['preRun'] || Module['preRun'].length == 0, 'cannot call main when preRun functions remain to be called'); |