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

Function removeChildrenAndAdd

tools/pythonauto/static/codemirrorepl/codemirror.js:7049–7051  ·  view source on GitHub ↗
(parent, e)

Source from the content-addressed store, hash-verified

7047 }
7048
7049 function removeChildrenAndAdd(parent, e) {
7050 return removeChildren(parent).appendChild(e);
7051 }
7052
7053 function contains(parent, child) {
7054 if (parent.contains)

Callers 9

updateSelectionFunction · 0.70
paddingHFunction · 0.70
textHeightFunction · 0.70
charWidthFunction · 0.70
widgetHeightFunction · 0.70
scrollbarWidthFunction · 0.70
zeroWidthElementFunction · 0.70
hasBadBidiRectsFunction · 0.70

Calls 2

removeChildrenFunction · 0.70
appendChildMethod · 0.45

Tested by

no test coverage detected