Bläddra i källkod

Spelling fixed on the website playground.

SpaceComet 3 år sedan
förälder
incheckning
5204ce8300

+ 1 - 1
website/playground/new-samples/extending-language-services/configure-javascript-defaults/sample.js

@@ -1,4 +1,4 @@
-// Add additonal d.ts files to the JavaScript language service and change.
+// Add additional d.ts files to the JavaScript language service and change.
 // Also change the default compilation options.
 // Also change the default compilation options.
 // The sample below shows how a class Facts is declared and introduced
 // The sample below shows how a class Facts is declared and introduced
 // to the system and how the compiler is told to use ES6 (target=2).
 // to the system and how the compiler is told to use ES6 (target=2).

+ 1 - 1
website/playground/new-samples/interacting-with-the-editor/adding-an-action-to-an-editor-instance/sample.js

@@ -42,7 +42,7 @@ editor.addAction({
 	contextMenuOrder: 1.5,
 	contextMenuOrder: 1.5,
 
 
 	// Method that will be executed when the action is triggered.
 	// Method that will be executed when the action is triggered.
-	// @param editor The editor instance is passed in as a convinience
+	// @param editor The editor instance is passed in as a convenience
 	run: function(ed) {
 	run: function(ed) {
 		alert("i'm running => " + ed.getPosition());
 		alert("i'm running => " + ed.getPosition());
 		return null;
 		return null;