@esportsplus/template 0.23.5 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,7 +105,7 @@ class ArraySlot {
105
105
  }
106
106
  }
107
107
  export default (anchor, renderable) => {
108
- let { array, template } = renderable, slot = new ArraySlot(anchor, array, template);
108
+ let array = renderable.array, slot = new ArraySlot(anchor, array, renderable.template);
109
109
  if (array.length) {
110
110
  root(() => {
111
111
  slot.nodes = array.map(slot.template);
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "private": false,
15
15
  "type": "module",
16
16
  "types": "./build/index.d.ts",
17
- "version": "0.23.5",
17
+ "version": "0.25.0",
18
18
  "scripts": {
19
19
  "build": "tsc && tsc-alias",
20
20
  "-": "-"
package/src/slot/array.ts CHANGED
@@ -138,8 +138,8 @@ class ArraySlot<T> {
138
138
 
139
139
 
140
140
  export default <T>(anchor: Element, renderable: RenderableReactive<T>) => {
141
- let { array, template } = renderable,
142
- slot = new ArraySlot(anchor, array, template);
141
+ let array = renderable.array,
142
+ slot = new ArraySlot(anchor, array, renderable.template);
143
143
 
144
144
  if (array.length) {
145
145
  root(() => {