MCPcopy Index your code
hub / github.com/TruthHun/BookStack / rm

Function rm

static/mergely/lib/codemirror.js:853–861  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

851 var container = display.lineDiv, cur = container.firstChild;
852
853 function rm(node) {
854 var next = node.nextSibling;
855 // Works around a throw-scroll bug in OS X Webkit
856 if (webkit && mac && cm.display.currentWheelTarget == node)
857 node.style.display = "none";
858 else
859 node.parentNode.removeChild(node);
860 return next;
861 }
862
863 var view = display.view, lineN = display.viewFrom;
864 // Loop over the elements in the view, syncing cur (the DOM nodes

Callers 15

patchDisplayFunction · 0.70
leaveFunction · 0.50
vue.runtime.esm.jsFile · 0.50
leaveFunction · 0.50
vue.jsFile · 0.50
leaveFunction · 0.50
leaveFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected