@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.
- package/build/slot/array.js +1 -1
- package/package.json +1 -1
- package/src/slot/array.ts +2 -2
package/build/slot/array.js
CHANGED
|
@@ -105,7 +105,7 @@ class ArraySlot {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
export default (anchor, renderable) => {
|
|
108
|
-
let
|
|
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
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
|
|
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(() => {
|