Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
const
loadScript = (src) => {
16
const
el = document.createElement(
"script"
);
17
el.src = src;
18
document.head.appendChild(el);
19
};
20
21
const
loadCSS = (href) => {
22
const
el = document.createElement(
"link"
);
Callers
2
bootDev
Function · 0.85
bootProd
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected