machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

Ember and Boolean Attributes broken in 0.9.2 #304

Closed thec0keman closed 6 years ago

thec0keman commented 6 years ago

#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.

thec0keman commented 6 years ago

Ember issue to see if this is intended behavior