From eeafa8ac354a74e945d1fc7c9a5cfa039898a9af Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Fri, 8 Jun 2018 00:47:10 -0500 Subject: fix eslint violation --- app/assets/javascripts/ide/lib/common/model.js | 8 ++++---- 1 file 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}`), )), ); } -- cgit v1.2.3