Created
January 29, 2014 23:21
-
-
Save StevenLangbroek/8699392 to your computer and use it in GitHub Desktop.
Marionette Renderer override to use `grunt-contrib-handlebars`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_.extend Marionette.Renderer, | |
render: (template, data) -> | |
throw "Template #{template} not found!" unless JST[template] | |
JST[template](data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment