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

Function removeChildren

tools/pythonauto/static/codemirrorepl/codemirror.js:7043–7047  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

7041 };
7042
7043 function removeChildren(e) {
7044 for (var count = e.childNodes.length; count > 0; --count)
7045 e.removeChild(e.firstChild);
7046 return e;
7047 }
7048
7049 function removeChildrenAndAdd(parent, e) {
7050 return removeChildren(parent).appendChild(e);

Callers 6

updateGuttersFunction · 0.70
updateDisplayInnerFunction · 0.70
patchDisplayFunction · 0.70
textHeightFunction · 0.70
removeChildrenAndAddFunction · 0.70

Calls 1

removeChildMethod · 0.45

Tested by

no test coverage detected