Make lang prop dynamic.

This commit is contained in:
Hossein Nedaee
2019-11-11 21:44:29 +03:30
parent 179010ddbf
commit 4ca78a2fe5
2 changed files with 18 additions and 10 deletions

View File

@@ -42,7 +42,6 @@ export default {
this.editor.session.setValue(value,1);
this.cacheValue = value;
}
},
theme() {
this.editor.setTheme('ace/theme/' + this.defineTheme())