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

Method initClass

app/views/core/ContactModal.js:38–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36module.exports = (ContactModal = (function () {
37 ContactModal = class ContactModal extends ModalView {
38 static initClass () {
39 this.prototype.id = 'contact-modal'
40 this.prototype.template = template
41 this.prototype.closeButton = true
42
43 this.prototype.events = {
44 'click #contact-submit-button': 'contact',
45 'click [data-toggle="coco-modal"][data-target="core/SubscribeModal"]': 'openSubscribeModal'
46 }
47 }
48
49 openSubscribeModal (e) {
50 e.stopPropagation()

Callers 1

ContactModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected