MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / loadScripts

Function loadScripts

docs/search/worker.js:27–34  ·  view source on GitHub ↗
(urls, callback)

Source from the content-addressed store, hash-verified

25}
26
27function loadScripts(urls, callback) {
28 if( 'function' === typeof importScripts ) {
29 importScripts.apply(null, urls);
30 callback();
31 } else {
32 getScriptsInOrder(urls, callback);
33 }
34}
35
36function onJSONLoaded () {
37 data = JSON.parse(this.responseText);

Callers 1

onJSONLoadedFunction · 0.85

Calls 2

getScriptsInOrderFunction · 0.85
applyMethod · 0.45

Tested by

no test coverage detected