diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-05-28 23:15:36 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-05-28 23:15:36 -0700 |
commit | f1fd3b6f4da91029dd639fb4a837379a336e84ed (patch) | |
tree | 2978b5a3961854eb237f185916923bae2fad75a3 /src/postamble.js | |
parent | c8e6d4c1c3590f2af814d320a6b9436c7d3a36a9 (diff) |
fixes for closure compiler advanced opts
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/postamble.js b/src/postamble.js index 4943b9e8..12d4ebca 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -21,7 +21,7 @@ Module.callMain = function callMain(args) { } function run(args) { - args = args || Module.arguments; + args = args || Module['arguments']; __initializeRuntime__(); @@ -42,10 +42,10 @@ Module['run'] = run; #if INVOKE_RUN #else -Module.noInitialRun = true; +Module['noInitialRun'] = true; #endif -if (!Module.noInitialRun) { +if (!Module['noInitialRun']) { run(); } |