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

Method initClass

app/views/editor/chat/ChatEditView.js:29–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27module.exports = (ChatEditView = (function () {
28 ChatEditView = class ChatEditView extends RootView {
29 static initClass () {
30 this.prototype.id = 'editor-chat-edit-view'
31 this.prototype.template = template
32
33 this.prototype.events = {
34 'click #save-button': 'onClickSaveButton',
35 'click #i18n-button': 'onPopulateI18N',
36 'click #delete-button': 'confirmDeletion',
37 'click #fix-button': 'onFix',
38 'click #add-code-button': 'onAddCode',
39 'click #regenerate-message-button': 'onRegenerateMessage'
40 }
41 }
42
43 constructor (options, chatID) {
44 super(options)

Callers 1

ChatEditView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected