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

Method initClass

app/views/editor/poll/PollEditView.js:26–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24module.exports = (PollEditView = (function () {
25 PollEditView = class PollEditView extends RootView {
26 static initClass () {
27 this.prototype.id = 'editor-poll-edit-view'
28 this.prototype.template = template
29
30 this.prototype.events = {
31 'click #save-button': 'savePoll',
32 'click #delete-button': 'confirmDeletion'
33 }
34 }
35
36 constructor (options, pollID) {
37 super(options)

Callers 1

PollEditView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected