| 20 | module.exports = (LadderPlayModal = (function () { |
| 21 | LadderPlayModal = class LadderPlayModal extends ModalView { |
| 22 | static initClass () { |
| 23 | this.prototype.id = 'ladder-play-modal' |
| 24 | this.prototype.template = template |
| 25 | this.prototype.closeButton = true |
| 26 | this.shownTutorialButton = false |
| 27 | this.prototype.tutorialLevelExists = null |
| 28 | |
| 29 | this.prototype.events = { |
| 30 | 'click #skip-tutorial-button': 'hideTutorialButtons', |
| 31 | 'change #tome-language': 'updateLanguage' |
| 32 | } |
| 33 | |
| 34 | this.prototype.defaultAceConfig = { |
| 35 | language: 'javascript', |
| 36 | keyBindings: 'default', |
| 37 | invisibles: false, |
| 38 | indentGuides: false, |
| 39 | behaviors: false, |
| 40 | liveCompletion: true |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | constructor (options, level, session, team) { |
| 45 | super(options) |