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

Method initClass

app/views/teachers/ResourceHubView.js:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13module.exports = (ResourceHubView = (function () {
14 ResourceHubView = class ResourceHubView extends RootView {
15 static initClass () {
16 this.prototype.id = 'resource-hub-view'
17 this.prototype.template = require('app/templates/teachers/resource-hub-view')
18
19 this.prototype.events =
20 { 'click .resource-link': 'onClickResourceLink' }
21 }
22
23 getTitle () { return $.i18n.t('teacher.resource_hub') }
24

Callers 1

ResourceHubView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected