MCPcopy
hub / github.com/nbubna/store / getModule

Function getModule

libs/requirejs.js:487–496  ·  view source on GitHub ↗
(depMap)

Source from the content-addressed store, hash-verified

485 }
486
487 function getModule(depMap) {
488 var id = depMap.id,
489 mod = getOwn(registry, id);
490
491 if (!mod) {
492 mod = registry[id] = new context.Module(depMap);
493 }
494
495 return mod;
496 }
497
498 function on(depMap, name, fn) {
499 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…