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

Function loaded

test/lib/simpleRequire.js:187–199  ·  view source on GitHub ↗
(exports)

Source from the content-addressed store, hash-verified

185 mods[modId] = {};
186
187 function loaded(exports) {
188 var ret;
189 if (currentDefinedDeps) {
190 ret = invokeFactory(currentDefinedFactory, currentDefinedDeps);
191 }
192 else {
193 ret = exports;
194 }
195 // Clear.
196 currentDefinedFactory = null;
197 currentDefinedDeps = null;
198 return ret;
199 }
200
201 var url = resolvePath(modId);
202 var ext = getExt(url);

Callers

nothing calls this directly

Calls 1

invokeFactoryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…