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

Method initClass

app/views/editor/modal/NewModelModal.js:17–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15module.exports = (NewModelModal = (function () {
16 NewModelModal = class NewModelModal extends ModalView {
17 static initClass () {
18 this.prototype.id = 'new-model-modal'
19 this.prototype.template = template
20 this.prototype.plain = false
21
22 this.prototype.events = {
23 'click button.new-model-submit': 'onModelSubmitted',
24 'submit form': 'onModelSubmitted'
25 }
26 }
27
28 constructor (options) {
29 super(options)

Callers 1

NewModelModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected