(list)
| 31 | }; |
| 32 | |
| 33 | const allocList = (list) => { |
| 34 | if (!list || list.length === 0) return ''; |
| 35 | const out = new Array(list.length); |
| 36 | for (let i = 0; i < list.length; i++) out[i] = alloc(list[i]); |
| 37 | return out.join(','); |
| 38 | }; |
| 39 | |
| 40 | // Targets: handles in `nodes[]`, listeners in `bindings[]`, running `animations[]` rooted in `el` (inclusive). Slots nulled, not spliced. |
| 41 | const cleanSubtree = (el) => { |