pawajs-continue 1.0.5 → 1.0.6

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 +5 -2
  2. package/package.json +2 -2
package/component.js CHANGED
@@ -205,8 +205,11 @@ 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
+ componentChildren.push(value)
210
+ if (number.notRender !== null && isIndex <= number.notRender){
211
+ return
212
+ }
210
213
  render(value,element._context,number,attr.name)
211
214
  })
212
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs-continue",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
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
  }