MCPcopy Create free account
hub / github.com/DHTMLX/gantt / rm

Function rm

samples/common/codehighlight/codemirror.js:4199–4207  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

4197 var container = display.lineDiv, cur = container.firstChild;
4198
4199 function rm(node) {
4200 var next = node.nextSibling;
4201 // Works around a throw-scroll bug in OS X Webkit
4202 if (webkit && mac && cm.display.currentWheelTarget == node)
4203 { node.style.display = "none"; }
4204 else
4205 { node.parentNode.removeChild(node); }
4206 return next
4207 }
4208
4209 var view = display.view, lineN = display.viewFrom;
4210 // Loop over the elements in the view, syncing cur (the DOM nodes

Callers 1

patchDisplayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected