Skip to content

Instantly share code, notes, and snippets.

@adamrneary
Created April 5, 2013 23:21
Show Gist options
  • Save adamrneary/5323440 to your computer and use it in GitHub Desktop.
Save adamrneary/5323440 to your computer and use it in GitHub Desktop.
View = require('lib/view')
module.exports = class PageguideView extends View
template: HandlebarsTemplates['shared/pageguide']
initialize: (context) ->
@context = context
mediator.on 'route:rendered', @_initializePageGuide
render: =>
@$el.html @template @context
@
_initializePageGuide: ->
tl.pg.init()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment