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

Method initClass

app/views/play/modal/PollModal.js:19–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17module.exports = (PollModal = (function () {
18 PollModal = class PollModal extends ModalView {
19 static initClass () {
20 this.prototype.id = 'poll-modal'
21 this.prototype.template = template
22
23 this.prototype.subscriptions = {}
24
25 this.prototype.events = {
26 'click #close-modal': 'hide',
27 'click .answer:not(.selected)': 'onClickAnswer'
28 }
29 }
30
31 constructor (options) {
32 let left, left1

Callers 1

PollModal.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected