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

Method initClass

app/views/core/HeroSelectView.js:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21module.exports = (HeroSelectView = (function () {
22 HeroSelectView = class HeroSelectView extends CocoView {
23 static initClass () {
24 this.prototype.id = 'hero-select-view'
25 this.prototype.template = template
26
27 this.prototype.events =
28 { 'click .hero-option': 'onClickHeroOption' }
29 }
30
31 constructor (options = {}) {
32 super(options)

Callers 1

HeroSelectView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected