MCPcopy
hub / github.com/retspen/webvirtcloud / afterLoad

Function afterLoad

static/js/ace.js:3514–3523  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3512 return;
3513
3514 var afterLoad = function() {
3515 require([moduleName], function(module) {
3516 exports._emit("load.module", {name: moduleName, module: module});
3517 var listeners = exports.$loading[moduleName];
3518 exports.$loading[moduleName] = null;
3519 listeners.forEach(function(onLoad) {
3520 onLoad && onLoad(module);
3521 });
3522 });
3523 };
3524
3525 if (!exports.get("packaged"))
3526 return afterLoad();

Callers 1

ace.jsFile · 0.85

Calls 2

requireFunction · 0.85
cbFunction · 0.85

Tested by

no test coverage detected