Unbroke backgrid template cell

pull/4/head
Mark McDowall 12 years ago
parent 5bfd9e3329
commit af2da6380b

@ -7,7 +7,7 @@ Backgrid.TemplateBackedCell = Backgrid.Cell.extend({
render: function () {
var data = this.model.toJSON();
var templateFunction = Marionette.TemplateCache.get(this.template);
var html = new Handlebars.SafeString(templateFunction(data));
var html = templateFunction(data);
this.$el.html(html);
return this;

Loading…
Cancel
Save