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

Method initClass

app/views/account/UnsubscribeView.js:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16module.exports = (UnsubscribeView = (function () {
17 UnsubscribeView = class UnsubscribeView extends RootView {
18 static initClass () {
19 this.prototype.id = 'unsubscribe-view'
20 this.prototype.template = template
21
22 this.prototype.events =
23 { 'click #unsubscribe-button': 'onUnsubscribeButtonClicked' }
24 }
25
26 initialize () {
27 return this.email = utils.getQueryVariable('email')

Callers 1

UnsubscribeView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected