varvet / serenade.js

Client side MVC framework
http://serenadejs.org
Other
524 stars 27 forks source link

Handle boolean HTML attributes #98

Closed ghost closed 10 years ago

ghost commented 10 years ago

Made it a map for efficient lookup, and making sure the attributes are properly camelCased.

It’s a bit less restrictive on which elements support which boolean attributes (e.g. you can now set checked on any field, not just inputs). I’m not sure if that could cause issues.

ghost commented 10 years ago

Actually, I’ll cook up support for property:disabled=@bound instead. // @Burgestrand

ghost commented 10 years ago

Did this with #99. // @Burgestrand