MCPcopy Create free account
hub / github.com/prototypejs/prototype / contextLines

Function contextLines

test/unit/static/js/mocha.js:250–252  ·  view source on GitHub ↗
(lines)

Source from the content-addressed store, hash-verified

248 diff.push({value: "", lines: []}); // Append an empty value to make cleanup easier
249
250 function contextLines(lines) {
251 return lines.map(function(entry) { return ' ' + entry; });
252 }
253 function eofNL(curRange, i, current) {
254 var last = diff[diff.length-2],
255 isLast = i === diff.length-2,

Callers 1

mocha.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected