MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / loadScript

Function loadScript

src/boot.js:15–19  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

13 : "";
14
15const loadScript = (src) => {
16 const el = document.createElement("script");
17 el.src = src;
18 document.head.appendChild(el);
19};
20
21const loadCSS = (href) => {
22 const el = document.createElement("link");

Callers 2

bootDevFunction · 0.85
bootProdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected