MCPcopy Create free account
hub / github.com/WebReflection/neverland / append

Function append

index.js:709–715  ·  view source on GitHub ↗
(root, childNodes)

Source from the content-addressed store, hash-verified

707 };
708
709 function append(root, childNodes) {
710 var length = childNodes.length;
711
712 while (length--) {
713 root.appendChild(childNodes[0]);
714 }
715 }
716
717 function create(element) {
718 return element === FRAGMENT ? document.createDocumentFragment() : document.createElementNS('http://www.w3.org/1999/xhtml', element);

Callers 2

index.jsFile · 0.70
createSVGFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected