* Given any node return the first leaf node without children. * * @param {DOMElement|DOMTextNode} node * @return {DOMElement|DOMTextNode}
(node)
| 5508 | * @return {DOMElement|DOMTextNode} |
| 5509 | */ |
| 5510 | function getLeafNode(node) { |
| 5511 | while (node && node.firstChild) { |
| 5512 | node = node.firstChild; |
| 5513 | } |
| 5514 | return node; |
| 5515 | } |
| 5516 | |
| 5517 | /** |
| 5518 | * Get the next sibling within a container. This will walk up the |
no outgoing calls
no test coverage detected