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

Method initClass

app/views/contribute/AmbassadorView.js:17–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15module.exports = (AmbassadorView = (function () {
16 AmbassadorView = class AmbassadorView extends ContributeClassView {
17 static initClass () {
18 this.prototype.id = 'ambassador-view'
19 this.prototype.template = template
20
21 this.prototype.events =
22 { 'click [data-toggle="coco-modal"][data-target="core/ContactModal"]': 'openContactModal' }
23 }
24
25 initialize () {
26 return this.contributorClassName = 'ambassador'

Callers 1

AmbassadorView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected