MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / allocList

Function allocList

host/dom/src/main/state.js:33–38  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

31 };
32
33 const allocList = (list) => {
34 if (!list || list.length === 0) return '';
35 const out = new Array(list.length);
36 for (let i = 0; i < list.length; i++) out[i] = alloc(list[i]);
37 return out.join(',');
38 };
39
40 // Targets: handles in `nodes[]`, listeners in `bindings[]`, running `animations[]` rooted in `el` (inclusive). Slots nulled, not spliced.
41 const cleanSubtree = (el) => {

Callers 1

tree.jsFile · 0.85

Calls 1

allocFunction · 0.85

Tested by

no test coverage detected