MCPcopy Create free account
hub / github.com/unconed/TermKit / splitLines

Function splitLines

HTML/external/syntaxhighlighter_3.0.83/src/shCore.js:433–436  ·  view source on GitHub ↗

* Splits block of text into lines. * @param {String} block Block of text. * @return {Array} Returns array of lines.

(block)

Source from the content-addressed store, hash-verified

431 * @return {Array} Returns array of lines.
432 */
433function splitLines(block)
434{
435 return block.split('\n');
436}
437
438/**
439 * Generates HTML ID for the highlighter.

Callers 4

eachLineFunction · 0.85
processSmartTabsFunction · 0.85
unindentFunction · 0.85
shCore.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected