MCPcopy Create free account
hub / github.com/googlemaps/js-api-loader / setScriptSrc

Function setScriptSrc

src/setScriptSrc.ts:53–55  ·  view source on GitHub ↗
(script: HTMLScriptElement, src: string)

Source from the content-addressed store, hash-verified

51}
52
53export function setScriptSrc(script: HTMLScriptElement, src: string): void {
54 script.src = getPolicy().createScriptURL(src) as string;
55}

Callers 2

triggerBootstrapFunction · 0.85

Calls 1

getPolicyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…