(script string)
| 218 | } |
| 219 | |
| 220 | func 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 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…