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

Function processText

web/main.js:4723–4736  ·  view source on GitHub ↗
(n1, n2, container, anchor)

Source from the content-addressed store, hash-verified

4721 }
4722 };
4723 const processText = (n1, n2, container, anchor) => {
4724 if (n1 == null) {
4725 hostInsert(
4726 n2.el = hostCreateText(n2.children),
4727 container,
4728 anchor
4729 );
4730 } else {
4731 const el = n2.el = n1.el;
4732 if (n2.children !== n1.children) {
4733 hostSetText(el, n2.children);
4734 }
4735 }
4736 };
4737 const processCommentNode = (n1, n2, container, anchor) => {
4738 if (n1 == null) {
4739 hostInsert(

Callers 1

patchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected