* Given any node return the first leaf node without children. * * @param {DOMElement|DOMTextNode} node * @return {DOMElement|DOMTextNode}
(node)
| 6526 | * @return {DOMElement|DOMTextNode} |
| 6527 | */ |
| 6528 | function getLeafNode(node) { |
| 6529 | while (node && node.firstChild) { |
| 6530 | node = node.firstChild; |
| 6531 | } |
| 6532 | return node; |
| 6533 | } |
| 6534 | |
| 6535 | /** |
| 6536 | * Get the next sibling within a container. This will walk up the |
no outgoing calls
no test coverage detected