In templates, it seems the compiler chokes when there's any whitespace in a binding statement that binds to a method. For example, whitespace in and between arguments fails:
<toggle-button js-bind="text:$owner.concatStrings('Hello ', 'World!')" />
As well as whitespace between binding statements:
<toggle-button js-bind="class:$owner.classString, text:$owner.concatStrings('Hello', 'World!')" />
But no whitespace seems fine:
<toggle-button js-bind="class:$owner.classString,text:$owner.concatStrings('Hello','World!')" />
In templates, it seems the compiler chokes when there's any whitespace in a binding statement that binds to a method. For example, whitespace in and between arguments fails:
As well as whitespace between binding statements:
But no whitespace seems fine: