MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / rm

Function rm

static/js/codemirror/codemirror.js:572–581  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

570 var container = display.lineDiv, cur = container.firstChild;
571
572 function rm(node) {
573 var next = node.nextSibling;
574 if (webkit && mac && cm.display.currentWheelTarget == node) {
575 node.style.display = "none";
576 node.lineObj = null;
577 } else {
578 node.parentNode.removeChild(node);
579 }
580 return next;
581 }
582
583 var nextIntact = intact.shift(), lineN = from;
584 cm.doc.iter(from, to, function(line) {

Callers 1

patchDisplayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected