Browse Source

0.8.3. prep

Alex Dima 8 years ago
parent
commit
3d272380ab
5 changed files with 8 additions and 4 deletions
  1. 3 0
      CHANGELOG.md
  2. 1 1
      monaco.d.ts
  3. 1 1
      package.json
  4. 2 1
      test/samples.js
  5. 1 1
      website/playground/monaco.d.ts.txt

+ 3 - 0
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

+ 1 - 1
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 {

+ 1 - 1
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"

+ 2 - 1
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);
 

+ 1 - 1
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 {