MCPcopy Index your code
hub / github.com/dozoisch/react-async-script / documentLoadScript

Function documentLoadScript

test/async-script-loader-spec.js:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23const hasScript = URL => getScript(URL, true);
24
25const documentLoadScript = URL => {
26 const script = getScript(URL);
27 script.onload();
28};
29
30const documentErrorScript = URL => {
31 const script = getScript(URL);

Callers 1

Calls 1

getScriptFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…