MCPcopy Index your code
hub / github.com/DHTMLX/gantt / spaceStr

Function spaceStr

samples/common/codehighlight/codemirror.js:233–237  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

231
232 var spaceStrs = [""];
233 function spaceStr(n) {
234 while (spaceStrs.length <= n)
235 { spaceStrs.push(lst(spaceStrs) + " "); }
236 return spaceStrs[n]
237 }
238
239 function lst(arr) { return arr[arr.length-1] }
240

Callers 3

buildTokenFunction · 0.85
codemirror.jsFile · 0.85
indentLineFunction · 0.85

Calls 1

lstFunction · 0.85

Tested by

no test coverage detected