mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
5b8d66cd1c
Don't show grey border around Anya in signup modal Refactor reload handling Fix courses page updating to chosen hero
15 lines
482 B
CoffeeScript
15 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 }))
|