MCPcopy
hub / github.com/NUKnightLab/TimelineJS3 / js

Method js

src/js/core/Load.js:382–384  ·  view source on GitHub ↗

Requests the specified JavaScript URL or URLs and executes the specified callback (if any) when they have finished loading. If an array of URLs is specified and the browser supports it, the scripts will be loaded in parallel and the callback will be executed after all scripts have fi

(urls, callback, obj, context)

Source from the content-addressed store, hash-verified

380 @static
381 */
382 js(urls, callback, obj, context) {
383 this.load('js', urls, callback, obj, context);
384 }
385}
386
387function loadJS(urls, callback, obj, context) {

Callers 1

loadJSFunction · 0.80

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected