Skip to content

Instantly share code, notes, and snippets.

@StevenLangbroek
Created March 27, 2014 13:02
Show Gist options
  • Save StevenLangbroek/9807069 to your computer and use it in GitHub Desktop.
Save StevenLangbroek/9807069 to your computer and use it in GitHub Desktop.
Given this code, how can I still add templateHelpers to individual views?
@AnalyticsApp.module "Views", (Views, App, Backbone, Marionette, $, _) ->
_.extend Marionette.View::,
templateHelpers: ->
form:
App.request "get:form"
i18n:
App.request "get:i18n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment