MCPcopy Create free account
hub / github.com/TruthHun/BookStack / spaceStr

Function spaceStr

static/mergely/lib/codemirror.js:8295–8299  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

8293
8294 var spaceStrs = [""];
8295 function spaceStr(n) {
8296 while (spaceStrs.length <= n)
8297 spaceStrs.push(lst(spaceStrs) + " ");
8298 return spaceStrs[n];
8299 }
8300
8301 function lst(arr) { return arr[arr.length-1]; }
8302

Callers 2

indentLineFunction · 0.70
buildTokenFunction · 0.70

Calls 1

lstFunction · 0.70

Tested by

no test coverage detected