aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js6
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();
}