MCPcopy
hub / github.com/AlloyTeam/AlloyImage / AIDefine

Function AIDefine

nsrc/alloyimage.define.js:34–41  ·  view source on GitHub ↗
(name, modules, func)

Source from the content-addressed store, hash-verified

32
33 //AI define method, just like common define method;
34 var AIDefine = function(name, modules, func){
35 __definePools__[name] = {
36 func: func,
37 modules: modules
38 };
39
40 checkReady(mainPort);
41 };
42
43 //Global Object: AlloyImage Or $AI;
44 window.$AI = window.AlloyImage = AlloyImage = $AI = function(){};

Callers 7

alloyimage.util.jsFile · 0.85
alloyimage.info.jsFile · 0.85
alloyimage.base.jsFile · 0.85
alloyimage.fix.jsFile · 0.85

Calls 1

checkReadyFunction · 0.85

Tested by

no test coverage detected