pawajs-continue 1.0.7 → 1.0.9

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/component.js CHANGED
@@ -203,9 +203,9 @@ const oldState=getCurrentContext()
203
203
  })
204
204
  const number={notRender:null,index:null}
205
205
  children.forEach((value, index) => {
206
+ number.index=isIndex
206
207
  isIndex++
207
208
  if(value.hasAttribute(attr.name)) value.removeAttribute(attr.name);
208
- number.index=isIndex
209
209
  if (number.notRender !== null && isIndex <= number.notRender){
210
210
  return
211
211
  }
package/index.js CHANGED
@@ -17,6 +17,7 @@ export const resume_text=(el,attr,isName)=>{
17
17
  el.childNodes.forEach((value, index) => {
18
18
  if(value.nodeType === 8 && value.data.startsWith('textEvaluator-')){
19
19
  textNodes=value.data.slice(14)
20
+ value.remove()
20
21
  }
21
22
  })
22
23
  const evaluate = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pawajs-continue",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Pawajs continuity initializer library for ssr",
5
5
  "main": "index.js",
6
6
  "scripts": {