MCPcopy
hub / github.com/designmodo/Flat-UI / byTagName

Function byTagName

docs/assets/js/prettify.js:1450–1450  ·  view source on GitHub ↗
(tn)

Source from the content-addressed store, hash-verified

1448 var root = opt_root || document.body;
1449 var doc = root.ownerDocument || document;
1450 function byTagName(tn) { return root.getElementsByTagName(tn); }
1451 // fetch a list of nodes to rewrite
1452 var codeSegments = [byTagName('pre'), byTagName('code'), byTagName('xmp')];
1453 var elements = [];

Callers 1

$prettyPrintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected