MCPcopy Index your code
hub / github.com/witheve/Eve / removeChildrenAndAdd

Function removeChildrenAndAdd

src/codemirror.js:8437–8439  ·  view source on GitHub ↗
(parent, e)

Source from the content-addressed store, hash-verified

8435 }
8436
8437 function removeChildrenAndAdd(parent, e) {
8438 return removeChildren(parent).appendChild(e);
8439 }
8440
8441 var contains = CodeMirror.contains = function(parent, child) {
8442 if (child.nodeType == 3) // Android browser always returns false when child is a textnode

Callers 10

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

Calls 1

removeChildrenFunction · 0.85

Tested by

no test coverage detected