[closes gh-129] Updated to mirrorsharp.setText().
This commit is contained in:
Родитель
d842b43f3f
Коммит
7ab56995fc
|
@ -25,7 +25,7 @@ Vue.component('app-mirrorsharp', {
|
|||
if (this.serverOptions)
|
||||
instance.sendServerOptions(this.serverOptions);
|
||||
|
||||
this.$watch('initialText', v => instance.getCodeMirror().setValue(v));
|
||||
this.$watch('initialText', v => instance.setText(v));
|
||||
this.$watch('serverOptions', o => instance.sendServerOptions(o), { deep: true });
|
||||
this.$watch('serviceUrl', u => {
|
||||
instance.destroy({ keepCodeMirror: true });
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"codemirror": "^5.19.0",
|
||||
"dateformat": "^1.0.12",
|
||||
"lz-string": "^1.4.4",
|
||||
"mirrorsharp": "^0.9.0-pre-20170527",
|
||||
"mirrorsharp": "^0.9.0-pre-20170618",
|
||||
"vue": "^2.3.0"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче