MCPcopy Create free account
hub / github.com/Nynxz/ComfyUI-IdeogramHelper / removeStaticNode

Function removeStaticNode

web/main.js:4767–4775  ·  view source on GitHub ↗
({ el, anchor })

Source from the content-addressed store, hash-verified

4765 hostInsert(anchor, container, nextSibling);
4766 };
4767 const removeStaticNode = ({ el, anchor }) => {
4768 let next;
4769 while (el && el !== anchor) {
4770 next = hostNextSibling(el);
4771 hostRemove(el);
4772 el = next;
4773 }
4774 hostRemove(anchor);
4775 };
4776 const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
4777 if (n2.type === "svg") {
4778 namespace = "svg";

Callers 1

remove2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected