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

Method initClass

app/views/editor/modal/VersionsModal.js:39–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37module.exports = (VersionsModal = (function () {
38 VersionsModal = class VersionsModal extends ModalView {
39 static initClass () {
40 this.prototype.template = template
41 this.prototype.plain = true
42 this.prototype.modalWidthPercent = 80
43
44 // needs to be overwritten by child
45 this.prototype.id = ''
46 this.prototype.url = ''
47 this.prototype.page = ''
48
49 this.prototype.events =
50 { 'change input.select': 'onSelectionChanged' }
51 }
52
53 constructor (options, ID, model) {
54 super(options)

Callers 1

VersionsModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected