machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js

Home Page:http://emblemjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ember and Boolean Attributes broken in 0.9.2

thec0keman opened this issue · comments

#302 introduced a regression where boolean attributes are now quoted and don't always work

Ember will coerce boolean attributes:

multiple={{ trueValue }} => multiple
multiple={{ falseValue }} => nil
multiple={{ blankValue }} => nil

However, after these changes the falseValue scenario will evaluate to true.

Ember issue to see if this is intended behavior