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

Method initClass

app/views/account/MainAccountView.js:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14module.exports = (MainAccountView = (function () {
15 MainAccountView = class MainAccountView extends RootView {
16 static initClass () {
17 this.prototype.id = 'main-account-view'
18 this.prototype.template = template
19
20 this.prototype.events =
21 { 'click .logout-btn': 'logoutAccount' }
22 }
23
24 getMeta () {
25 return { title: $.i18n.t('account.title') }

Callers 1

MainAccountView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected