mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-02 11:58:10 -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 }))
|