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

Method initClass

app/views/admin/TrialRequestsView.js:19–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17module.exports = (TrialRequestsView = (function () {
18 TrialRequestsView = class TrialRequestsView extends RootView {
19 static initClass () {
20 this.prototype.id = 'admin-trial-requests-view'
21 this.prototype.template = template
22
23 this.prototype.events = {
24 'click .btn-approve': 'onClickApprove',
25 'click .btn-deny': 'onClickDeny'
26 }
27 }
28
29 constructor (options) {
30 super(options)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected