MCPcopy Create free account
hub / github.com/WebReflection/hypersimple / text

Function text

index.js:1531–1533  ·  view source on GitHub ↗
(node, _text)

Source from the content-addressed store, hash-verified

1529 var slice = [].slice; // simplifies text node creation
1530
1531 var text = function text(node, _text) {
1532 return node.ownerDocument.createTextNode(_text);
1533 };
1534
1535 function Tagger(type) {
1536 this.type = type;

Callers 1

anyContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected