googlearchive / TemplateBinding

TemplateBinding Prolyfill
290 stars 61 forks source link

should binding names be case insensitive? must two-way property bindings? #98

Closed rafaelw closed 11 years ago

rafaelw commented 11 years ago

I'm tempted to say that binding names are always converted to lower case when node.bind(name) is invoked.

Downside?

arv commented 11 years ago

I'm vary of doing these lossy conversions. I think we should not do that. If subclasses like HTMLSelectElement wants to allow both selectedIndex and selectedindex then it is the responsibility of the subclass.

rafaelw commented 11 years ago

Ok. I'm convinced (and it's what is currently implemented).