MCPcopy Create free account
hub / github.com/sql-js/sql.js / spaceStr

Function spaceStr

GUI/codemirror/lib/codemirror.js:7002–7006  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

7000
7001 var spaceStrs = [""];
7002 function spaceStr(n) {
7003 while (spaceStrs.length <= n)
7004 spaceStrs.push(lst(spaceStrs) + " ");
7005 return spaceStrs[n];
7006 }
7007
7008 function lst(arr) { return arr[arr.length-1]; }
7009

Callers 2

indentLineFunction · 0.85
buildTokenFunction · 0.85

Calls 1

lstFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…