* Given any node return the first leaf node without children. * * @param {DOMElement|DOMTextNode} node * @return {DOMElement|DOMTextNode}
(node)
| 6275 | * @return {DOMElement|DOMTextNode} |
| 6276 | */ |
| 6277 | function getLeafNode(node) { |
| 6278 | while (node && node.firstChild) { |
| 6279 | node = node.firstChild; |
| 6280 | } |
| 6281 | return node; |
| 6282 | } |
| 6283 | |
| 6284 | /** |
| 6285 | * Get the next sibling within a container. This will walk up the |
no outgoing calls
no test coverage detected