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

Method initClass

app/views/courses/EnrollmentsView.js:39–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37module.exports = (EnrollmentsView = (function () {
38 EnrollmentsView = class EnrollmentsView extends RootView {
39 static initClass () {
40 this.prototype.id = 'enrollments-view'
41 this.prototype.template = template
42 this.prototype.enrollmentRequestSent = false
43
44 this.prototype.events = {
45 'click #how-to-enroll-link': 'onClickHowToEnrollLink',
46 'click #contact-us-btn': 'onClickContactUsButton',
47 'click .share-licenses-link': 'onClickShareLicensesLink',
48 'click .license-stats': 'onClickLicenseStats'
49 }
50 }
51
52 getTitle () { return $.i18n.t('teacher.enrollments') }
53

Callers 1

EnrollmentsView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected