Created
March 27, 2014 13:02
-
-
Save StevenLangbroek/9807069 to your computer and use it in GitHub Desktop.
Given this code, how can I still add templateHelpers to individual views?
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
@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