* remove(node) removes the given node from the DOM and returns the * next node in the sequence. * * @param {Node} node * @return {Node} node
(node)
| 473 | * @return {Node} node |
| 474 | */ |
| 475 | function remove (node) { |
| 476 | var next = node.nextSibling || node.parentNode; |
| 477 | |
| 478 | node.parentNode.removeChild(node); |
| 479 | |
| 480 | return next |
| 481 | } |
| 482 | |
| 483 | /** |
| 484 | * next(prev, current, isPre) returns the next node in the sequence, given the |
no outgoing calls
no test coverage detected