(e)
| 12 | } |
| 13 | |
| 14 | export function removeChildren(e) { |
| 15 | for (let count = e.childNodes.length; count > 0; --count) |
| 16 | e.removeChild(e.firstChild) |
| 17 | return e |
| 18 | } |
| 19 | |
| 20 | export function removeChildrenAndAdd(parent, e) { |
| 21 | return removeChildren(parent).appendChild(e) |
no outgoing calls
no test coverage detected