(id)
| 53 | } |
| 54 | |
| 55 | function el(id) { |
| 56 | if (id == 'T') { |
| 57 | return tree; |
| 58 | } |
| 59 | const found = tree.querySelector(`#${id}`); |
| 60 | if (!found) { |
| 61 | throw new Error(`element not found ${id}`); |
| 62 | } |
| 63 | return found; |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * @param {Object} obj |
no outgoing calls
no test coverage detected