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

Function rm

tools/pythonauto/static/codemirrorepl/codemirror.js:714–722  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

712 var container = display.lineDiv, cur = container.firstChild;
713
714 function rm(node) {
715 var next = node.nextSibling;
716 // Works around a throw-scroll bug in OS X Webkit
717 if (webkit && mac && cm.display.currentWheelTarget == node)
718 node.style.display = "none";
719 else
720 node.parentNode.removeChild(node);
721 return next;
722 }
723
724 var view = display.view, lineN = display.viewFrom;
725 // Loop over the elements in the view, syncing cur (the DOM nodes

Callers 1

patchDisplayFunction · 0.70

Calls 1

removeChildMethod · 0.45

Tested by

no test coverage detected