MCPcopy Create free account
hub / github.com/sql-js/sql.js / removeChildren

Function removeChildren

GUI/codemirror/lib/codemirror.js:7101–7105  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

7099 };
7100
7101 function removeChildren(e) {
7102 for (var count = e.childNodes.length; count > 0; --count)
7103 e.removeChild(e.firstChild);
7104 return e;
7105 }
7106
7107 function removeChildrenAndAdd(parent, e) {
7108 return removeChildren(parent).appendChild(e);

Callers 6

updateGuttersFunction · 0.85
updateDisplayInnerFunction · 0.85
patchDisplayFunction · 0.85
textHeightFunction · 0.85
removeChildrenAndAddFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…