diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-06-08 08:47:10 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-06-08 08:47:10 +0300 |
commit | eeafa8ac354a74e945d1fc7c9a5cfa039898a9af (patch) | |
tree | 36198e11ae1b8dc00d1d1fff1d7051db93486f86 /app/assets/javascripts | |
parent | 1edf0a8aa719aab9cf8782ed1ca743a8d7b57ae7 (diff) |
fix eslint violation
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/ide/lib/common/model.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/ide/lib/common/model.js b/app/assets/javascripts/ide/lib/common/model.js index 7907827bb43..78e6f632728 100644 --- a/app/assets/javascripts/ide/lib/common/model.js +++ b/app/assets/javascripts/ide/lib/common/model.js @@ -1,4 +1,4 @@ -import { editor as monacoEditor, Uri as monacoUri } from 'monaco-editor'; +import { editor as monacoEditor, Uri } from 'monaco-editor'; import Disposable from './disposable'; import eventHub from '../../eventhub'; @@ -13,12 +13,12 @@ export default class Model { (this.originalModel = monacoEditor.createModel( head ? head.content : this.file.raw, undefined, - new monacoUri(false, false, `original/${this.path}`), + new Uri(false, false, `original/${this.path}`), )), (this.model = monacoEditor.createModel( this.content, undefined, - new monacoUri(false, false, this.path), + new Uri(false, false, this.path), )), ); if (this.file.mrChange) { @@ -26,7 +26,7 @@ export default class Model { (this.baseModel = monacoEditor.createModel( this.file.baseRaw, undefined, - new monacoUri(false, false, `target/${this.path}`), + new Uri(false, false, `target/${this.path}`), )), ); } |