MCPcopy Create free account
hub / github.com/microsoft/SandDance / localRequire

Function localRequire

docs/app/js/sanddance-app.js:82–85  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

80 return cache[name].exports;
81
82 function localRequire(x) {
83 var res = localRequire.resolve(x);
84 return res === false ? {} : newRequire(res);
85 }
86
87 function resolve(x) {
88 var id = modules[name][1][x];

Callers

nothing calls this directly

Calls 1

newRequireFunction · 0.70

Tested by

no test coverage detected