MCPcopy Create free account
hub / github.com/codecombat/codecombat / initClass

Method initClass

app/views/ladder/LadderPlayModal.js:22–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20module.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)

Callers 1

LadderPlayModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected