MCPcopy Create free account
hub / github.com/wailsapp/wails / createScriptNode

Function createScriptNode

v2/pkg/assetserver/common.go:58–69  ·  view source on GitHub ↗
(scriptName string)

Source from the content-addressed store, hash-verified

56}
57
58func createScriptNode(scriptName string) *html.Node {
59 return &html.Node{
60 Type: html.ElementNode,
61 Data: "script",
62 Attr: []html.Attribute{
63 {
64 Key: "src",
65 Val: scriptName,
66 },
67 },
68 }
69}
70
71func createDivNode(id string) *html.Node {
72 return &html.Node{

Callers 1

insertScriptInHeadFunction · 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…