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

Method initClass

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

Source from the content-addressed store, hash-verified

17module.exports = (JuniorModal = (function () {
18 JuniorModal = class JuniorModal extends ModalView {
19 static initClass () {
20 this.prototype.id = 'junior-modal'
21 this.prototype.template = template
22 this.prototype.hasAnimated = false
23 this.prototype.events = {
24 'click #close-modal': 'hide',
25 'click .submit-button': 'onSubmitButtonClick',
26 }
27 }
28
29 getRenderData (context = {}) {
30 context = super.getRenderData(context)

Callers 1

JuniorModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected