Permalink
Browse files

add prototype keyword to the way handlebars templates get compiled

  • Loading branch information...
1 parent 10e6707 commit 0c980347170037e7d5b0c92b1cf04b216a8a5375 @stormasm stormasm committed Nov 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/js/jobs.js
View
@@ -141,7 +141,7 @@ var ContentView = Backbone.View.extend({
}
});
-Backbone.Marionette.TemplateCache.compileTemplate = function(template) {
+Backbone.Marionette.TemplateCache.prototype.compileTemplate = function(template) {
return(Handlebars.compile(template));
}

0 comments on commit 0c98034

Please sign in to comment.