MCPcopy Index your code
hub / github.com/csev/py4e / killNode

Function killNode

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1250–1254  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1248 if (!intact.length) lineDiv.innerHTML = "";
1249 else {
1250 function killNode(node) {
1251 var tmp = node.nextSibling;
1252 node.parentNode.removeChild(node);
1253 return tmp;
1254 }
1255 var domPos = 0, curNode = lineDiv.firstChild, n;
1256 for (var i = 0; i < intact.length; ++i) {
1257 var cur = intact[i];

Callers 1

patchDisplayFunction · 0.85

Calls 1

removeChildMethod · 0.45

Tested by

no test coverage detected