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

Function removeChildrenAndAdd

samples/common/codehighlight/codemirror.js:67–69  ·  view source on GitHub ↗
(parent, e)

Source from the content-addressed store, hash-verified

65 }
66
67 function removeChildrenAndAdd(parent, e) {
68 return removeChildren(parent).appendChild(e)
69 }
70
71 function elt(tag, content, className, style) {
72 var e = document.createElement(tag);

Callers 10

zeroWidthElementFunction · 0.85
hasBadBidiRectsFunction · 0.85
hasBadZoomedRectsFunction · 0.85
widgetHeightFunction · 0.85
paddingHFunction · 0.85
textHeightFunction · 0.85
charWidthFunction · 0.85
onDragOverFunction · 0.85
codemirror.jsFile · 0.85

Calls 1

removeChildrenFunction · 0.85

Tested by

no test coverage detected