-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dasherize camelized bindings in handlebars #492
Comments
also, for |
Can you reopen on https://github.com/wycats/handlebars.js/ |
This should be fixed by the new attribute bindings colon separator syntax. It does require you to subclass a view. |
…rn/broccoli-static-site-json-3.4.0
It would be clean if
{{view Em.TextField fooBarBinding="hello" }}
would translate into<input type='text' foo-bar='hello'>
instead of<input type='text' foobar='hello'>
.It is possible to setup dasherized attributes using foo-barBinding, but that syntax feels less right, since camelize is the js-standard (and dashes is the standard used in html attribute names since they are case-insensitive).
http://jsfiddle.net/DTwa6/3/
Let me know what you think?
The text was updated successfully, but these errors were encountered: