MCPcopy Create free account
hub / github.com/breck7/scroll / asHtmlCube

Method asHtmlCube

external/.scrollLibs.js:16027–16029  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16025 return atoms.join("")
16026 }
16027 get asHtmlCube() {
16028 return this.map((plane, planeIndex) => plane.topDownArray.map((line, lineIndex) => line._toHtmlCubeLine(line.getIndentLevel() - 2, lineIndex, planeIndex)).join("")).join("")
16029 }
16030 _getHtmlJoinByCharacter() {
16031 return `<span class="particleBreakSymbol">${this.particleBreakSymbol}</span>`
16032 }

Callers

nothing calls this directly

Calls 4

mapMethod · 0.95
_toHtmlCubeLineMethod · 0.80
getIndentLevelMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected