sinwan-compiler 0.2.6 → 0.2.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.
|
@@ -611,6 +611,9 @@ function createBindingDescriptor(expr, exprPath, options) {
|
|
|
611
611
|
wrapExpression(expr)
|
|
612
612
|
]);
|
|
613
613
|
}
|
|
614
|
+
if (t.isIdentifier(expr, { name: "children" })) {
|
|
615
|
+
return wrapExpression(expr);
|
|
616
|
+
}
|
|
614
617
|
return t.callExpression(t.identifier("_$bindText"), [wrapExpression(expr)]);
|
|
615
618
|
}
|
|
616
619
|
function collectComponentFunctions2(ast, ccNames) {
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED