()
| 75 | } |
| 76 | |
| 77 | insert() { |
| 78 | const { root } = this |
| 79 | |
| 80 | const reset = this.getLayerRoot('reset') |
| 81 | if (reset.nodes?.length) root.append(reset) |
| 82 | |
| 83 | const base = this.getLayerRoot('base') |
| 84 | if (base.nodes?.length) root.append(base) |
| 85 | |
| 86 | const tokens = this.getLayerRoot('tokens') |
| 87 | if (tokens.nodes?.length) root.append(tokens) |
| 88 | |
| 89 | const recipes = this.getLayerRoot('recipes') |
| 90 | if (recipes.nodes?.length) root.append(recipes) |
| 91 | |
| 92 | const utilities = this.getLayerRoot('utilities') |
| 93 | if (utilities.nodes?.length) root.append(utilities) |
| 94 | |
| 95 | return root |
| 96 | } |
| 97 | |
| 98 | get layerNames() { |
| 99 | return Object.values(this.names) |
no test coverage detected