pawajs 1.4.14 → 1.4.16

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 +7 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1224,9 +1224,14 @@ 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
+ if (child.hasAttribute('p:store')) {
1230
+ return
1231
+ }
1232
+ number.index = isIndex
1233
+ isIndex++
1234
+ if (number.notRender !== null && isIndex <= number.notRender) return
1230
1235
  render(child, context, number, isName)
1231
1236
  })
1232
1237
  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.16",
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",