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

Function removeChildrenAndAdd

GUI/codemirror/lib/codemirror.js:7107–7109  ·  view source on GitHub ↗
(parent, e)

Source from the content-addressed store, hash-verified

7105 }
7106
7107 function removeChildrenAndAdd(parent, e) {
7108 return removeChildren(parent).appendChild(e);
7109 }
7110
7111 function contains(parent, child) {
7112 if (parent.contains)

Callers 9

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

Calls 1

removeChildrenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…