MCPcopy
hub / github.com/DHTMLX/gantt / removeChildren

Function removeChildren

samples/common/codehighlight/codemirror.js:61–65  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

59 };
60
61 function removeChildren(e) {
62 for (var count = e.childNodes.length; count > 0; --count)
63 { e.removeChild(e.firstChild); }
64 return e
65 }
66
67 function removeChildrenAndAdd(parent, e) {
68 return removeChildren(parent).appendChild(e)

Callers 7

removeChildrenAndAddFunction · 0.85
hasBadBidiRectsFunction · 0.85
textHeightFunction · 0.85
updateDisplayIfNeededFunction · 0.85
patchDisplayFunction · 0.85
renderGuttersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected