codecombat/app/views/multiplayer_view.coffee

13 lines
387 B
CoffeeScript
Raw Normal View History

2014-03-16 20:33:57 -04:00
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())
2014-03-16 23:32:24 -04:00
2014-03-16 20:33:57 -04:00
class MultiplayerLaunchModal extends ModalView
2014-03-16 23:32:24 -04:00
template: modalTemplate
id: "multiplayer-launch-modal"