emberjs/ember.js — Issue #492: dasherize camelized bindings in handlebars
Author: sandstrom
Created: 2012-02-13 19:15:04+00:00
State: open

It would be clean if `{{view Em.TextField fooBarBinding="hello" }}` would translate into `` instead of ``.

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?