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

Function removeChildren

external/.scrollLibs.js:526–531  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

524 }
525
526 function removeChildren(e) {
527 for (var count = e.childNodes.length; count > 0; --count) {
528 e.removeChild(e.firstChild)
529 }
530 return e
531 }
532
533 function removeChildrenAndAdd(parent, e) {
534 return removeChildren(parent).appendChild(e)

Callers 7

removeChildrenAndAddFunction · 0.85
hasBadBidiRectsFunction · 0.85
textHeightFunction · 0.85
updateDisplayIfNeededFunction · 0.85
patchDisplayFunction · 0.85
updateGuttersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected