* Given any node return the first leaf node without children. * * @param {DOMElement|DOMTextNode} node * @return {DOMElement|DOMTextNode}
(node)
| 6310 | * @return {DOMElement|DOMTextNode} |
| 6311 | */ |
| 6312 | function getLeafNode(node) { |
| 6313 | while (node && node.firstChild) { |
| 6314 | node = node.firstChild; |
| 6315 | } |
| 6316 | return node; |
| 6317 | } |
| 6318 | |
| 6319 | /** |
| 6320 | * Get the next sibling within a container. This will walk up the |
no outgoing calls
no test coverage detected