diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-31 11:51:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-31 11:51:55 -0700 |
commit | 38546d9a50e1dd9a80e0951ae860899f8acc072f (patch) | |
tree | 1e2f62d7578578eba3325d64704851b0b3a34d62 /src/postamble.js | |
parent | 9854bb1c7b9ae9cd793f5e2cec09788066ce8dd6 (diff) |
add some closure aliases
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'); |