Skip to content

Instantly share code, notes, and snippets.

@banister
Created May 6, 2013 23:13
Show Gist options
  • Select an option

  • Save banister/5529037 to your computer and use it in GitHub Desktop.

Select an option

Save banister/5529037 to your computer and use it in GitHub Desktop.
Backbone.Marionette.Renderer.render = (template, data) ->
path = JST["backbone/apps/" + template]
unless path
throw "Template #{template} not found!"
path(data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment