MCPcopy Create free account
hub / github.com/GoogleChrome/samples / preRun

Function preRun

mkbitmap/mkbitmap.js:511–519  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

509}
510
511function preRun() {
512 if (Module['preRun']) {
513 if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']];
514 while (Module['preRun'].length) {
515 addOnPreRun(Module['preRun'].shift());
516 }
517 }
518 callRuntimeCallbacks(__ATPRERUN__);
519}
520
521function initRuntime() {
522 assert(!runtimeInitialized);

Callers 1

mkbitmap.jsFile · 0.70

Calls 2

addOnPreRunFunction · 0.70
callRuntimeCallbacksFunction · 0.70

Tested by

no test coverage detected