Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
53
export
function
setScriptSrc(script: HTMLScriptElement, src: string): void {
54
script.src = getPolicy().createScriptURL(src) as string;
55
}
Callers
2
triggerBootstrap
Function · 0.85
setScriptSrc.test.ts
File · 0.85
Calls
1
getPolicy
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…