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

Method initClass

ozaria/site/views/play/menu/OptionsView.js:24–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22module.exports = (OptionsView = (function () {
23 OptionsView = class OptionsView extends CocoView {
24 static initClass () {
25 this.prototype.id = 'options-view'
26 this.prototype.className = 'tab-pane ozar-view'
27 this.prototype.template = template
28 this.prototype.aceConfig = {}
29 this.prototype.defaultConfig = {
30 language: 'python',
31 keyBindings: 'default',
32 behaviors: false,
33 liveCompletion: true,
34 screenReaderMode: false
35 }
36
37 this.prototype.events = {
38 'click .done-button': 'onDoneClicked',
39 'change #option-music': 'updateMusic'
40 }
41 }
42
43 constructor (options) {
44 super(options)

Callers 1

OptionsView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected