mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
16 lines
482 B
CoffeeScript
16 lines
482 B
CoffeeScript
|
CocoView = require 'views/core/CocoView'
|
||
|
HeroSelectView = require 'views/core/HeroSelectView'
|
||
|
template = require 'templates/core/create-account-modal/extras-view'
|
||
|
State = require 'models/State'
|
||
|
|
||
|
module.exports = class ExtrasView extends CocoView
|
||
|
id: 'extras-view'
|
||
|
template: template
|
||
|
retainSubviews: true
|
||
|
|
||
|
events:
|
||
|
'click .next-button': -> @trigger 'nav-forward'
|
||
|
|
||
|
initialize: ({ @signupState } = {}) ->
|
||
|
@insertSubView(new HeroSelectView({ showCurrentHero: false }))
|