aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-06 17:25:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-06 17:25:09 -0700
commit0266e05582042f69de08b966a7e63c6828ba25d4 (patch)
tree29aa8d9a1ae9b14feda5fb20b03f76c038a81f19 /src/postamble.js
parent3ef0364bbda11df569a8e11254138c6b0b7b17c6 (diff)
restore support for noInitialRun
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/postamble.js b/src/postamble.js
index b14a31a1..1f4c9c04 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -64,6 +64,9 @@ Module['run'] = run;
#else
addRunDependency();
#endif
+if (Module['noInitialRun']) {
+ addRunDependency();
+}
if (runDependencies == 0) {
var ret = run();