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

Method initClass

app/views/ladder/MainTournamentView.js:51–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49module.exports = (MainLadderView = (function () {
50 MainLadderView = class MainLadderView extends RootView {
51 static initClass () {
52 this.prototype.id = 'main-ladder-view'
53 this.prototype.template = template
54
55 this.prototype.events = {
56 'click .create-button': 'createTournament',
57 'click .edit-button': 'editTournament',
58 'click .input-submit': 'submitEditing',
59 'click .input-cancel': 'cancelEditing'
60 }
61 }
62
63 constructor (options, pageType, objectId) {
64 super(options)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected