* Given any node return the first leaf node without children. * * @param {DOMElement|DOMTextNode} node * @return {DOMElement|DOMTextNode}
(node)
| 6368 | * @return {DOMElement|DOMTextNode} |
| 6369 | */ |
| 6370 | function getLeafNode(node) { |
| 6371 | while (node && node.firstChild) { |
| 6372 | node = node.firstChild; |
| 6373 | } |
| 6374 | return node; |
| 6375 | } |
| 6376 | |
| 6377 | /** |
| 6378 | * Get the next sibling within a container. This will walk up the |
no outgoing calls
no test coverage detected