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

Method initClass

app/views/editor/PatchesView.js:20–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18module.exports = (PatchesView = (function () {
19 PatchesView = class PatchesView extends CocoView {
20 static initClass () {
21 this.prototype.template = template
22 this.prototype.className = 'patches-view'
23 this.prototype.status = 'pending'
24
25 this.prototype.events = {
26 'change .status-buttons': 'onStatusButtonsChanged',
27 'click .patch-row': 'openPatchModal'
28 }
29 }
30
31 constructor (model, options) {
32 super(options)

Callers 1

PatchesView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected