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

Method initClass

app/views/ladder/MyMatchesTabView.js:26–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24module.exports = (MyMatchesTabView = (function () {
25 MyMatchesTabView = class MyMatchesTabView extends CocoView {
26 static initClass () {
27 this.prototype.id = 'my-matches-tab-view'
28 this.prototype.template = require('app/templates/play/ladder/my_matches_tab')
29
30 this.prototype.events = {
31 'click .load-more-matches': 'onLoadMoreMatches',
32 'click .share-ladder-link-button': 'openShareLadderLinkModal'
33 }
34 }
35
36 constructor (options, level, sessions) {
37 super(...arguments)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected