pawajs-continue 1.0.5 → 1.0.7

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/component.js +4 -2
  2. package/package.json +2 -2
package/component.js CHANGED
@@ -205,8 +205,10 @@ const oldState=getCurrentContext()
205
205
  children.forEach((value, index) => {
206
206
  isIndex++
207
207
  if(value.hasAttribute(attr.name)) value.removeAttribute(attr.name);
208
- number.index = index
209
- if (number.notRender !== null && index <= number.notRender) return
208
+ number.index=isIndex
209
+ if (number.notRender !== null && isIndex <= number.notRender){
210
+ return
211
+ }
210
212
  render(value,element._context,number,attr.name)
211
213
  })
212
214
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs-continue",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Pawajs continuity initializer library for ssr",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,6 @@
23
23
  },
24
24
  "homepage": "https://github.com/Allisboy/pawajs-continue#readme",
25
25
  "dependencies": {
26
- "pawajs": "^1.4.7"
26
+ "pawajs": "^1.4.14"
27
27
  }
28
28
  }