MCPcopy Create free account
hub / github.com/atomicojs/atomico / html

Function html

html/html.js:6–17  ·  view source on GitHub ↗
(statics)

Source from the content-addressed store, hash-verified

4const CACHE = new Map();
5
6export function html(statics) {
7 let tmp = CACHE;
8
9 tmp = evaluate(
10 createElement,
11 tmp.get(statics) || (tmp.set(statics, (tmp = build(statics))), tmp),
12 arguments,
13 []
14 );
15
16 return tmp.length > 1 ? tmp : tmp[0];
17}

Callers 1

html.test.jsFile · 0.90

Calls 3

evaluateFunction · 0.85
buildFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected