13
34
var preloadStartTime = null;
38
// If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false)
16
43
Module['callMain'] = Module.callMain = function callMain(args) {
17
44
assert(runDependencies == 0, 'cannot call main when async dependencies remain! (listen on __ATMAIN__)');
18
45
assert(__ATPRERUN__.length == 0, 'cannot call main when preRun functions remain to be called');