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

Method initClass

app/views/i18n/I18NEditModelView.js:35–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33module.exports = (I18NEditModelView = (function () {
34 I18NEditModelView = class I18NEditModelView extends RootView {
35 static initClass () {
36 this.prototype.className = 'editor i18n-edit-model-view'
37 this.prototype.template = template
38
39 this.prototype.events = {
40 'input .translation-input': 'onInputChanged',
41 'change #language-select': 'onLanguageSelectChanged',
42 'click #patch-submit': 'onSubmitPatch',
43 'click .open-patch-link': 'onClickOpenPatchLink'
44 }
45 }
46
47 constructor (options, modelHandle) {
48 super(options)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected