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

Method initClass

app/views/admin/SchoolCountsView.js:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29module.exports = (SchoolCountsView = (function () {
30 SchoolCountsView = class SchoolCountsView extends RootView {
31 static initClass () {
32 this.prototype.id = 'admin-school-counts-view'
33 this.prototype.template = require('app/templates/admin/school-counts')
34 this.prototype.state = ''
35 }
36
37 initialize () {
38 if (!me.isAdmin()) { return super.initialize() }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected