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

Function rm

tools/pythonauto/static/codemirror/codemirror.js:624–633  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

622 var container = display.lineDiv, cur = container.firstChild;
623
624 function rm(node) {
625 var next = node.nextSibling;
626 if (webkit && mac && cm.display.currentWheelTarget == node) {
627 node.style.display = "none";
628 node.lineObj = null;
629 } else {
630 node.parentNode.removeChild(node);
631 }
632 return next;
633 }
634
635 var nextIntact = intact.shift(), lineN = from;
636 cm.doc.iter(from, to, function(line) {

Callers 1

patchDisplayFunction · 0.70

Calls 1

removeChildMethod · 0.45

Tested by

no test coverage detected