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

Method initClass

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

Source from the content-addressed store, hash-verified

37module.exports = (ClassroomView = (function () {
38 ClassroomView = class ClassroomView extends RootView {
39 static initClass () {
40 this.prototype.id = 'classroom-view'
41 this.prototype.template = template
42 this.prototype.teacherMode = false
43
44 this.prototype.events = {
45 'click #edit-class-details-link': 'onClickEditClassDetailsLink',
46 'click #activate-licenses-btn': 'onClickActivateLicensesButton',
47 'click .activate-single-license-btn': 'onClickActivateSingleLicenseButton',
48 'click #add-students-btn': 'onClickAddStudentsButton',
49 'click .enable-btn': 'onClickEnableButton',
50 'click .remove-student-link': 'onClickRemoveStudentLink'
51 }
52 }
53
54 constructor (options, classroomID) {
55 super(...arguments)

Callers 1

ClassroomView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected