MCPcopy Create free account
hub / github.com/box/Anemometer / numberLines

Function numberLines

js/prettify.js:969–1095  ·  view source on GitHub ↗

* Given a DOM subtree, wraps it in a list, and puts each line into its own * list item. * * @param {Node} node modified in place. Its content is pulled into an * HTMLOListElement, and each line is moved into a separate list item. * This requires cloning elements, so the input

(node, opt_startLineNum, isPreformatted)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

prettyPrintOneFunction · 0.85
doWorkFunction · 0.85

Calls 1

walkFunction · 0.85

Tested by

no test coverage detected