codecombat/app/views/multiplayer_view.coffee
2014-03-16 20:32:24 -07:00

12 lines
387 B
CoffeeScript

HomeView = require './home_view'
ModalView = require 'views/kinds/ModalView'
modalTemplate = require 'templates/multiplayer_launch_modal'
module.exports = class MultiplayerLaunchView extends HomeView
afterInsert: ->
super()
@openModalView(new MultiplayerLaunchModal())
class MultiplayerLaunchModal extends ModalView
template: modalTemplate
id: "multiplayer-launch-modal"