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

Method initClass

app/views/HomeCNView.js:29–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27module.exports = (HomeCNView = (function () {
28 HomeCNView = class HomeCNView extends RootView {
29 static initClass () {
30 this.prototype.id = 'home-cn-view'
31 this.prototype.template = template
32
33 this.prototype.events = {
34 'click .continue-playing-btn': 'onClickTrackEvent',
35 'click .example-gd-btn': 'onClickTrackEvent',
36 'click .example-wd-btn': 'onClickTrackEvent',
37 'click .play-btn': 'onClickTrackEvent',
38 'click .signup-home-btn': 'onClickTrackEvent',
39 'click .student-btn': 'onClickStudentButton',
40 'click .teacher-btn': 'onClickTeacherButton',
41 'click .request-quote': 'onClickRequestQuote',
42 'click .logout-btn': 'logoutAccount',
43 'click .profile-btn': 'onClickTrackEvent',
44 'click .setup-class-btn': 'onClickSetupClass',
45 'click .my-classes-btn': 'onClickTrackEvent',
46 'click .my-courses-btn': 'onClickTrackEvent',
47 'click a': 'onClickAnchor'
48 }
49 }
50
51 constructor (options) {
52 super(options)

Callers 1

HomeCNView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected