aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-12 17:36:08 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-12 17:36:08 -0800
commitd58b4e8eedef1ce80fd0082024b80b911a0160cc (patch)
tree2bc4aeb85b18d00d1a2cfd302a3d52b6b039ca3f
parentbf464056564e0e154dedab88bb4acfc3ebea018f (diff)
make Module.run accessible through closure also in pre and post-js (#704)
-rw-r--r--src/postamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js
index a4c43018..144b5af9 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -82,7 +82,7 @@ function run(args) {
return doRun();
}
}
-Module['run'] = run;
+Module['run'] = Module.run = run;
// {{PRE_RUN_ADDITIONS}}