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

Method initClass

ozaria/site/views/core/ContactModal.js:36–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

ContactModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected