Skip to content

Commit

Permalink
Merge pull request #151 from envoy/fix-binding-ambiguity
Browse files Browse the repository at this point in the history
Fix ember warning when passing *Binding options with unquoted values
  • Loading branch information
ef4 committed Jan 6, 2015
2 parents 5f4211a + e42f582 commit e28a397
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/helpers/liquid-if.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ export function factory(invert) {
}

hash.templates = templates;
hash.showFirstBinding = property;

if (isHTMLBars) {
hash.showFirst = property;
env.helpers.view.helperFunction.call(this, [View], hash, options, env);
} else {
hash.showFirstBinding = property;
return Ember.Handlebars.helpers.view.call(this, View, options);
}
};
Expand Down

0 comments on commit e28a397

Please sign in to comment.