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

Method initClass

app/views/AboutView.js:18–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16module.exports = (AboutView = (function () {
17 AboutView = class AboutView extends RootView {
18 static initClass () {
19 this.prototype.id = 'about-view'
20 this.prototype.template = template
21 this.prototype.logoutRedirectURL = false
22 this.prototype.jobs = []
23
24 this.prototype.events = {
25 'click #fixed-nav a': 'onClickFixedNavLink',
26 'click .screen-thumbnail': 'onClickScreenThumbnail',
27 'click #carousel-left': 'onLeftPressed',
28 'click #carousel-right': 'onRightPressed'
29 }
30
31 this.prototype.shortcuts = {
32 right: 'onRightPressed',
33 left: 'onLeftPressed',
34 esc: 'onEscapePressed'
35 }
36 }
37
38 getMeta () {
39 return {

Callers 1

AboutView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected