MCPcopy
hub / github.com/witheve/Eve / removeChildren

Function removeChildren

src/codemirror.js:8431–8435  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

8429 };
8430
8431 function removeChildren(e) {
8432 for (var count = e.childNodes.length; count > 0; --count)
8433 e.removeChild(e.firstChild);
8434 return e;
8435 }
8436
8437 function removeChildrenAndAdd(parent, e) {
8438 return removeChildren(parent).appendChild(e);

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected