diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-03-15 14:07:04 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-03-15 14:07:04 -0700 |
commit | be1631232551386af02b424eb40d236215696e4a (patch) | |
tree | cd61496f94065e20f9ae92f5850a54f458bc6ffa /src/postamble.js | |
parent | 38b121aff6b48f724023d837fd164836c3f7fb69 (diff) |
add file preloading in browsers
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/postamble.js b/src/postamble.js index 56f0aee1..7371ff05 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -53,10 +53,10 @@ if (Module['preRun']) { #if INVOKE_RUN #else -Module['noInitialRun'] = true; +addRunDependency(); #endif -if (!Module['noInitialRun']) { +if (runDependencies == 0) { var ret = run(); #if CATCH_EXIT_CODE print('Exit Status: ' + ret); |