From 5273e3532135753c781685f647b041515c1fc962 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Tue, 12 Jan 2016 15:06:39 +0100 Subject: [PATCH] :lipstick: tslint --- src/vs/workbench/common/editor/resourceEditorInput.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/workbench/common/editor/resourceEditorInput.ts b/src/vs/workbench/common/editor/resourceEditorInput.ts index 1d1cd56fd8c..468f439fccf 100644 --- a/src/vs/workbench/common/editor/resourceEditorInput.ts +++ b/src/vs/workbench/common/editor/resourceEditorInput.ts @@ -18,7 +18,7 @@ import {IModelService} from 'vs/editor/common/services/modelService'; */ export class ResourceEditorInput extends EditorInput { - public static ID = 'workbench.editors.resourceEditorInput'; + public static ID: string = 'workbench.editors.resourceEditorInput'; protected cachedModel: ResourceEditorModel; protected resource: URI; @@ -59,7 +59,7 @@ export class ResourceEditorInput extends EditorInput { return TPromise.as(this.cachedModel); } - //Otherwise Create Model and handle dispose event + // Otherwise Create Model and handle dispose event let model = this.instantiationService.createInstance(ResourceEditorModel, this.resource); const unbind = model.addListener(EventType.DISPOSE, () => { this.cachedModel = null; // make sure we do not dispose model again @@ -98,4 +98,4 @@ export class ResourceEditorInput extends EditorInput { super.dispose(); } -} \ No newline at end of file +} -- GitLab