From e42f5826dc98a4cb86bd70e1fbce54934fbd0d4a Mon Sep 17 00:00:00 2001 From: Kamal Mahyuddin Date: Tue, 30 Dec 2014 18:42:32 -0800 Subject: [PATCH] fix ember warning when passing *Binding options with unquoted values --- app/helpers/liquid-if.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/helpers/liquid-if.js b/app/helpers/liquid-if.js index 03aacd19..c6bd9467 100644 --- a/app/helpers/liquid-if.js +++ b/app/helpers/liquid-if.js @@ -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); } };