Commit 8a9e379a authored by Denys Mishunov's avatar Denys Mishunov

Reduced ambiguity and confusion in vars naming

parent ad5667ae
......@@ -135,14 +135,14 @@ export default class EditorLite {
}
static convertMonacoToELInstance = (inst) => {
const decoratedInstance = inst;
decoratedInstance.updateModelLanguage = (path) => {
this.instance = inst;
this.instance.updateModelLanguage = (path) => {
return EditorLite.instanceUpdateLanguage(inst, path);
};
decoratedInstance.use = (exts = []) => {
this.instance.use = (exts = []) => {
return EditorLite.instanceApplyExtension(inst, exts);
};
return decoratedInstance;
return this.instance;
};
static instanceUpdateLanguage(inst, path) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment