From 3d272380ab1f95b069718720b7bf3b0287663123 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Fri, 3 Mar 2017 17:45:02 +0100 Subject: [PATCH] 0.8.3. prep --- CHANGELOG.md | 3 +++ monaco.d.ts | 2 +- package.json | 2 +- test/samples.js | 3 ++- website/playground/monaco.d.ts.txt | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1496c932..14bfe23e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Monaco Editor Change log +## [0.8.3] + - Fixes an issue in monaco-typescript where it would attempt to validate a disposed model. + ## [0.8.2] - Fixes the following regressions: - [issue #385](https://github.com/Microsoft/monaco-editor/issues/385): Cannot add action to the left-hand-side of the diff editor diff --git a/monaco.d.ts b/monaco.d.ts index 0c49aa2d..566d65e0 100644 --- a/monaco.d.ts +++ b/monaco.d.ts @@ -1,6 +1,6 @@ /*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Type definitions for monaco-editor v0.8.2 + * Type definitions for monaco-editor v0.8.3 * Released under the MIT license *-----------------------------------------------------------*/ declare module monaco { diff --git a/package.json b/package.json index 1c921061..a46f51b9 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "monaco-html": "1.2.1", "monaco-json": "1.2.2", "monaco-languages": "0.7.0", - "monaco-typescript": "2.1.1", + "monaco-typescript": "2.1.2", "rimraf": "^2.5.2", "typedoc": "^0.5.0", "uncss": "^0.14.1" diff --git a/test/samples.js b/test/samples.js index d1ec1585..98885f79 100644 --- a/test/samples.js +++ b/test/samples.js @@ -28,7 +28,7 @@ define(['./samples-all.generated'], function(ALL_SAMPLES) { name: name, mimeType: mimeType, loadText: function() { - return monaco.Promise.as(XHR_SAMPLES[modelUrl]); + return monaco.Promise.as(XHR_SAMPLES[modelUrl]).then(textModifier); } }); } @@ -66,6 +66,7 @@ define(['./samples-all.generated'], function(ALL_SAMPLES) { addXHRSample('Z___jquery-min.js', 'run-editor-jquery-min-js.txt', 'text/javascript'); addXHRSample('Z___scrolling-strategy.js', 'run-editor-sample-js.txt', 'text/plain', function(text) { + console.log('here I am'); var lines = text.split('\n'); var newLines = lines.slice(0); diff --git a/website/playground/monaco.d.ts.txt b/website/playground/monaco.d.ts.txt index 0c49aa2d..566d65e0 100644 --- a/website/playground/monaco.d.ts.txt +++ b/website/playground/monaco.d.ts.txt @@ -1,6 +1,6 @@ /*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. - * Type definitions for monaco-editor v0.8.2 + * Type definitions for monaco-editor v0.8.3 * Released under the MIT license *-----------------------------------------------------------*/ declare module monaco {