MCPcopy
hub / github.com/csev/py4e / removeChildren

Function removeChildren

tools/pythonauto/static/codemirror/codemirror.js:5674–5678  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

5672 }
5673
5674 function removeChildren(e) {
5675 for (var count = e.childNodes.length; count > 0; --count)
5676 e.removeChild(e.firstChild);
5677 return e;
5678 }
5679
5680 function removeChildrenAndAdd(parent, e) {
5681 return removeChildren(parent).appendChild(e);

Callers 5

updateGuttersFunction · 0.70
patchDisplayFunction · 0.70
measureLineInnerFunction · 0.70
textHeightFunction · 0.70
removeChildrenAndAddFunction · 0.70

Calls 1

removeChildMethod · 0.45

Tested by

no test coverage detected