You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor bug fixes:
See #451
- Binding to a computed function with no getter, such as <input data-link="name()"/>
with name.set undefined leads to an exception: "name is not a function".
- Tag two-way binding to a computed observable, such as {^{mytag name()/}}
can trigger onBind callback twice.2
@@ -2231,7 +2231,8 @@ function parseParams(params, pathBindings, tmpl, isLinkExpr) {
2231
2231
}
2232
2232
if(rtPrnDot&&bindings){
2233
2233
// This is a binding to a path in which an object is returned by a helper/data function/expression, e.g. foo()^x.y or (a?b:c)^x.y
2234
-
// We create a compiled function to get the object instance (which will be called when the dependent data of the subexpression changes, to return the new object, and trigger re-binding of the subsequent path)
2234
+
// We create a compiled function to get the object instance (which will be called when the dependent data of the subexpression changes,
2235
+
// to return the new object, and trigger re-binding of the subsequent path)
2235
2236
expr=pathStart[fnDp-1];
2236
2237
if(full.length-1>ind-(expr||0)){// We need to compile a subexpression
@@ -2235,7 +2235,8 @@ function parseParams(params, pathBindings, tmpl, isLinkExpr) {
2235
2235
}
2236
2236
if(rtPrnDot&&bindings){
2237
2237
// This is a binding to a path in which an object is returned by a helper/data function/expression, e.g. foo()^x.y or (a?b:c)^x.y
2238
-
// We create a compiled function to get the object instance (which will be called when the dependent data of the subexpression changes, to return the new object, and trigger re-binding of the subsequent path)
2238
+
// We create a compiled function to get the object instance (which will be called when the dependent data of the subexpression changes,
2239
+
// to return the new object, and trigger re-binding of the subsequent path)
2239
2240
expr=pathStart[fnDp-1];
2240
2241
if(full.length-1>ind-(expr||0)){// We need to compile a subexpression
2241
2242
expr=$.trim(full.slice(expr,ind+all.length));
@@ -3021,7 +3022,7 @@ if (jsrToJq) { // Moving from jsrender namespace to jQuery namepace - copy over
0 commit comments