Permalink
Browse files

add prototype keyword to the way handlebars templates get compiled

  • Loading branch information...
1 parent 9e75fb5 commit a8e7544b098c34e5335efd06967d06998519827d @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 a8e7544

Please sign in to comment.