codecombat/app/views/game-menu/GuideView.coffee

17 lines
509 B
CoffeeScript

CocoView = require 'views/kinds/CocoView'
template = require 'templates/game-menu/guide-view'
{me} = require 'lib/auth'
ThangType = require 'models/ThangType'
module.exports = class GuideView extends CocoView
id: 'guide-view'
className: 'tab-pane'
template: template
getRenderData: (context={}) ->
context = super(context)
context
afterRender: ->
super()
#Backbone.Mediator.publish 'audio-player:play-sound', trigger: 'guide-open', volume: 1 # no, only when the tab is activated