aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-05-09 16:34:08 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-05-09 16:34:08 -0700
commit8dd2d0a8c2396144ec8616387751ae00ca5e2f54 (patch)
tree7065c6502607f6fd4d966acb7c6712bb5572b694
parent0518ee039d081168cf2da06f0d2f00862dac4359 (diff)
update runDependencies comment
-rw-r--r--src/preamble.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 986592ee..e9ba2009 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -852,8 +852,8 @@ var STRING_TABLE = [];
// A counter of dependencies for calling run(). If we need to
// do asynchronous work before running, increment this and
-// decrement it. Incrementing must happen in Module.preRun
-// or PRE_RUN_ADDITIONS (used by emcc to add file preloading).
+// decrement it. Incrementing must happen in a place like
+// PRE_RUN_ADDITIONS (used by emcc to add file preloading).
var runDependencies = 0;
function addRunDependency() {
runDependencies++;