MCPcopy
hub / github.com/apache/echarts / loadDeps

Function loadDeps

test/lib/simpleRequire.js:216–225  ·  view source on GitHub ↗
(depsIds)

Source from the content-addressed store, hash-verified

214 }
215
216 function loadDeps(depsIds) {
217 return Promise.all(depsIds.map(function (depId) {
218 if (depId === 'exports') {
219 return Promise.resolve(exportsPlaceholder);
220 }
221 else {
222 return loadMod(depId);
223 }
224 }));
225 }
226
227 var pendingRequireCallbacks = [];
228 var pendingRequireCallbackParams = [];

Callers 2

defineFunction · 0.85
requireFunction · 0.85

Calls 2

loadModFunction · 0.85
mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…