MCPcopy Create free account
hub / github.com/TruthHun/BookStack / removeChildren

Function removeChildren

static/mergely/lib/codemirror.js:8399–8403  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

8397 };
8398
8399 function removeChildren(e) {
8400 for (var count = e.childNodes.length; count > 0; --count)
8401 e.removeChild(e.firstChild);
8402 return e;
8403 }
8404
8405 function removeChildrenAndAdd(parent, e) {
8406 return removeChildren(parent).appendChild(e);

Callers 6

updateGuttersFunction · 0.70
updateDisplayIfNeededFunction · 0.70
patchDisplayFunction · 0.70
textHeightFunction · 0.70
removeChildrenAndAddFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected