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

Function createSVG

index.js:724–730  ·  view source on GitHub ↗
(svg)

Source from the content-addressed store, hash-verified

722
723
724 function createSVG(svg) {
725 var content = create(FRAGMENT);
726 var template = create('div');
727 template.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg">' + svg + '</svg>';
728 append(content, template.firstChild.childNodes);
729 return content;
730 }
731 }(document);
732
733 /**

Callers

nothing calls this directly

Calls 2

createFunction · 0.70
appendFunction · 0.70

Tested by

no test coverage detected