From db0ada10e343ad1a04f4ce6450c30109382f0a3a Mon Sep 17 00:00:00 2001 From: Michael MacFadden Date: Fri, 29 Nov 2019 17:25:59 -0800 Subject: [PATCH] fixed a few typos, and updated the LICENSE file. --- LICENSE.txt => LICENSE | 2 -- README.md | 6 +++--- gulpfile.babel.js | 2 +- src/ts/RemoteSelection.ts | 2 +- src/ts/RemoteSelectionManager.ts | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) rename LICENSE.txt => LICENSE (95%) diff --git a/LICENSE.txt b/LICENSE similarity index 95% rename from LICENSE.txt rename to LICENSE index db6a3b0..c935a50 100644 --- a/LICENSE.txt +++ b/LICENSE @@ -1,5 +1,3 @@ -Copyright (c) 2019 Convergence Labs, Inc. - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to diff --git a/README.md b/README.md index fa79800..288af61 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ a single linear index or as a 2-dimensional position in the form of ```JavaScript const editor = monaco.editor.create(document.getElementById("editor"), { - value: "function helloWolrd = () => { console.log('hello world!')", + value: "function helloWorld = () => { console.log('hello world!')", theme: "vs-dark'", language: 'javascript' }); @@ -56,7 +56,7 @@ users working in the same document. ```JavaScript const editor = monaco.editor.create(document.getElementById("editor"), { - value: "function helloWolrd = () => { console.log('hello world!')", + value: "function helloWorld = () => { console.log('hello world!')", theme: "vs-dark'", language: 'javascript' }); @@ -84,7 +84,7 @@ to the editor. ```JavaScript const editor = monaco.editor.create(document.getElementById("editor"), { - value: "function helloWolrd = () => { console.log('hello world!')", + value: "function helloWorld = () => { console.log('hello world!')", theme: "vs-dark'", language: 'javascript' }); diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 737e144..1cb0e62 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -22,7 +22,7 @@ const tsProject = gulpTypescript.createProject("tsconfig.json", { const exportFilter = "export {};"; const copyFiles = () => - src(["README.md", "LICENSE.txt", "package.json"]) + src(["README.md", "LICENSE", "package.json"]) .pipe(dest("dist")); const copyDocs = () => diff --git a/src/ts/RemoteSelection.ts b/src/ts/RemoteSelection.ts index 6f09964..d30164b 100644 --- a/src/ts/RemoteSelection.ts +++ b/src/ts/RemoteSelection.ts @@ -77,7 +77,7 @@ export class RemoteSelection { private readonly _styleElement: HTMLStyleElement; /** - * The Monaco editor isntance to render selection into. + * The Monaco editor instance to render selection into. * @internal */ private readonly _editor: editor.ICodeEditor; diff --git a/src/ts/RemoteSelectionManager.ts b/src/ts/RemoteSelectionManager.ts index b13d673..9bef907 100644 --- a/src/ts/RemoteSelectionManager.ts +++ b/src/ts/RemoteSelectionManager.ts @@ -9,7 +9,7 @@ import {Validation} from "./Validation"; */ export interface IRemoteSelectionManagerOptions { /** - * The Monaco Editor instace to render the remote selections into. + * The Monaco Editor instance to render the remote selections into. */ editor: monaco.editor.ICodeEditor; }