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

Method initClass

app/views/courses/TeacherCoursesView.js:28–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26module.exports = (TeacherCoursesView = (function () {
27 TeacherCoursesView = class TeacherCoursesView extends RootView {
28 static initClass () {
29 this.prototype.id = 'teacher-courses-view'
30 this.prototype.template = template
31
32 this.prototype.events = {
33 'click .guide-btn': 'onClickGuideButton',
34 'click .play-level-button': 'onClickPlayLevel',
35 'click .show-change-log': 'onClickShowChange',
36 'click .video-thumbnail': 'onClickVideoThumbnail'
37 }
38 }
39
40 getTitle () { return $.i18n.t('teacher.courses_coco') }
41

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected