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

Method trim

external/.scrollLibs.js:17111–17115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17109 return this.parent._insertBlock(this.toString(), this.index + 1)
17110 }
17111 trim() {
17112 // todo: could do this so only the trimmed rows are deleted.
17113 this.setSubparticles(this.subparticlesToString().trim())
17114 return this
17115 }
17116 destroy() {
17117 this.parent._deleteParticle(this)
17118 }

Callers 15

convertToScrollsetFunction · 0.80
ZrFunction · 0.80
.katex.min.jsFile · 0.80
lineAtomTypesMethod · 0.80
_particleFromXmlMethod · 0.80
toTypeScriptInterfaceMethod · 0.80
toNodeJsJavascriptMethod · 0.80
toBrowserJavascriptMethod · 0.80
_combineParsersMethod · 0.80
uFunction · 0.80
lFunction · 0.80

Calls 2

setSubparticlesMethod · 0.95
subparticlesToStringMethod · 0.95

Tested by

no test coverage detected