MCPcopy Create free account
hub / github.com/BlaNKtext/webosu / getModule

Function getModule

js/lib/require.js:500–509  ·  view source on GitHub ↗
(depMap)

Source from the content-addressed store, hash-verified

498 }
499
500 function getModule(depMap) {
501 var id = depMap.id,
502 mod = getOwn(registry, id);
503
504 if (!mod) {
505 mod = registry[id] = new context.Module(depMap);
506 }
507
508 return mod;
509 }
510
511 function on(depMap, name, fn) {
512 var id = depMap.id,

Callers 4

onFunction · 0.85
newContextFunction · 0.85
callGetModuleFunction · 0.85
localRequireFunction · 0.85

Calls 1

getOwnFunction · 0.85

Tested by

no test coverage detected