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

Method initClass

app/views/user/UserOptInView.js:17–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15module.exports = (UserOptInView = (function () {
16 UserOptInView = class UserOptInView extends RootView {
17 static initClass () {
18 this.prototype.id = 'user-opt-in-view'
19 this.prototype.template = template
20
21 this.prototype.events = {
22 'click .keep-me-updated-btn': 'onClickKeepMeUpdated',
23 'click .login-button': 'onClickLoginButton'
24 }
25 }
26
27 constructor (options, userID, verificationCode) {
28 super(options)

Callers 1

UserOptInView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected