Closed rich-poole closed 9 years ago
Also note HTMLBars.makeBoundHelper is a little different than Handlebars, the correct code becomes:
export default Ember.HTMLBars.makeBoundHelper(function(params) {
var date = params[0];
var format = params[1];
return formatDate(date, format);
});
:+1: @AhmadH, this just tripped me up for a few minutes.
Ember CLI defaults to htmlbars now, probably worth updating for this at some point :)