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

Method initClass

app/views/play/menu/MyCodeView.js:22–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20module.exports = (MyCodeView = (function () {
21 MyCodeView = class MyCodeView extends CocoView {
22 static initClass () {
23 this.prototype.id = 'my-code-view'
24 this.prototype.className = 'tab-pane'
25 this.prototype.template = template
26
27 this.prototype.events = {
28 'click .reload-code': 'onClickReloadCode',
29 'click .beautify-code': 'onClickBeautifyCode',
30 'click .ai-hint': 'onClickAIHint',
31 'click .teacher-help': 'onClickTeacherHelp',
32 'click .image-gallery': 'onClickImageGallery',
33 'click .toggle-solution': 'onClickToggleSolution',
34 'click .fill-solution': 'onClickFillSolution',
35 'click .switch-team': 'onClickSwitchTeam',
36 }
37 }
38
39 constructor (options) {
40 super(options)

Callers 1

MyCodeView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected