Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

Binding fails when attempting to bind to methods with whitespace in statement #5

Open
Jahnp opened this issue Oct 24, 2014 · 0 comments

Comments

@Jahnp
Copy link

Jahnp commented Oct 24, 2014

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!')" />
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant