pawajs 1.4.14 → 1.4.15

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.
Files changed (2) hide show
  1. package/index.js +4 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1224,9 +1224,11 @@ export const render = (el, contexts = {}, notRender, isName) => {
1224
1224
  }
1225
1225
  }
1226
1226
  const number = { notRender: null, index: null }
1227
+ let isIndex=0
1227
1228
  Array.from(el.children).forEach((child, index) => {
1228
- number.index = index
1229
- if (number.notRender !== null && index <= number.notRender) return
1229
+ number.index = isIndex
1230
+ isIndex++
1231
+ if (number.notRender !== null && isIndex <= number.notRender) return
1230
1232
  render(child, context, number, isName)
1231
1233
  })
1232
1234
  el._callMount()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs",
3
- "version": "1.4.14",
3
+ "version": "1.4.15",
4
4
  "type":"module",
5
5
  "description": "pawajs library (reactive web runtime) for easily building web ui, enhancing html element, micro frontend etc ",
6
6
  "main": "index.js",