Browse files

update the code in the tutorial for the way handlebars templates get …

…compiled to reflect the recent code changes
  • Loading branch information...
1 parent 0c98034 commit e912056d258f2fc05174ae0d0fb173c191d9c411 @stormasm stormasm committed Nov 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/tutorial.md
View
2 doc/tutorial.md
@@ -12,7 +12,7 @@ The dependencies are the standard Backbone ones along with [Handlebars](http://h
Thanks goes to Derick Bailey for taking the time to write and maintain Marionette and [David Koblas](https://github.com/koblas) for quickly showing me how to integrate Handlebars into Marionette. Its two lines of code and you can see it in action in this example.
```js
-Backbone.Marionette.TemplateCache.compileTemplate = function(template) {
+Backbone.Marionette.TemplateCache.prototype.compileTemplate = function(template) {
return(Handlebars.compile(template));
}
```

0 comments on commit e912056

Please sign in to comment.