MCPcopy
hub / github.com/ebitengine/oto / newScriptURL

Function newScriptURL

driver_js.go:220–223  ·  view source on GitHub ↗
(script string)

Source from the content-addressed store, hash-verified

218}
219
220func newScriptURL(script string) js.Value {
221 blob := js.Global().Get("Blob").New([]any{script}, map[string]any{"type": "text/javascript"})
222 return js.Global().Get("URL").Call("createObjectURL", blob)
223}

Callers 1

newContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…