pawa-ssr 1.3.5 → 1.3.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.
- package/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -975,8 +975,6 @@ export const render =async (el, contexts = {},stream) => {
|
|
|
975
975
|
for(const attr of attributes){
|
|
976
976
|
if (directives[attr.name]) {
|
|
977
977
|
await directives[attr.name](el,attr,stream)
|
|
978
|
-
}else if(attr.value.includes('@{')){
|
|
979
|
-
await attributeHandler(el,attr)
|
|
980
978
|
}else if (attr.name.startsWith('state-')) {
|
|
981
979
|
directives['state-'](el,attr)
|
|
982
980
|
}
|
|
@@ -1006,7 +1004,9 @@ export const render =async (el, contexts = {},stream) => {
|
|
|
1006
1004
|
}catch(error){
|
|
1007
1005
|
console.warn(error.message,error.stack)
|
|
1008
1006
|
}
|
|
1009
|
-
}
|
|
1007
|
+
}else if(attr.value.includes('@{')){
|
|
1008
|
+
await attributeHandler(el,attr)
|
|
1009
|
+
}
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
1012
|
}
|