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

Function loadCSS

src/boot.js:21–26  ·  view source on GitHub ↗
(href)

Source from the content-addressed store, hash-verified

19};
20
21const loadCSS = (href) => {
22 const el = document.createElement("link");
23 el.rel = "stylesheet";
24 el.href = href;
25 document.head.appendChild(el);
26};
27
28const bootDev = () => {
29 loadCSS(`${DEV_ORIGIN}/build/main.css`);

Callers 2

bootDevFunction · 0.85
bootProdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected