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

Method onEditorChange

app/views/i18n/I18NEditModelView.js:130–136  ·  view source on GitHub ↗
(event, editor)

Source from the content-addressed store, hash-verified

128 }
129
130 onEditorChange (event, editor) {
131 if (this.destroyed) { return }
132 const index = $(editor.el).data('index')
133 const rowInfo = this.translationList[index]
134 const value = editor.getValue()
135 return this.onTranslationChanged(rowInfo, value)
136 }
137
138 wrapRow (title, key, enValue, toValue, path, format) {
139 if (!enValue) { return }

Callers

nothing calls this directly

Calls 2

onTranslationChangedMethod · 0.95
dataMethod · 0.80

Tested by

no test coverage detected