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

Method _clearSubparticles

external/.scrollLibs.js:16542–16546  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16540 return this
16541 }
16542 _clearSubparticles() {
16543 this._deleteByIndexes(Utils.getRange(0, this.length))
16544 delete this._subparticles
16545 return this
16546 }
16547 _setSubparticles(content, circularCheckArray) {
16548 this._clearSubparticles()
16549 // todo: is this correct? seems like `new Particle("").length` should be 1, not 0.

Callers 3

_setSubparticlesMethod · 0.95
deleteSubparticlesMethod · 0.95

Calls 1

_deleteByIndexesMethod · 0.95

Tested by

no test coverage detected