(name)
| 42 | * and inside `withElementCollector`. |
| 43 | */ |
| 44 | export function createHTMLElement(name) { |
| 45 | const e = document.createElement(name); |
| 46 | elementPool[elementPool.length - 1].push(e); |
| 47 | e.className = `element_pool_${name}-${++i}`; |
| 48 | return e; |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Remove every element from its parent and release the pool. |
no outgoing calls
no test coverage detected
searching dependent graphs…