Skip to content

Commit

Permalink
chore: fix typos (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 committed Nov 29, 2021
1 parent 151508e commit 5567249
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/less/components/editors.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// update if list of Editor ID changes
@editor-ids: main, renderer, html, preload;

// takes each editor ID and increase its z-index if the parent Mosiac root
// takes each editor ID and increase its z-index if the parent Mosaic root
// has focused__id class for that specific id.
each(@editor-ids, {
.focused__@{value}.mosaic .mosaic-window.@{value} {
Expand Down
2 changes: 1 addition & 1 deletion src/main/devtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export async function setupDevTools(): Promise<void> {
const react = await installExtension(REACT_DEVELOPER_TOOLS);
console.log(`installDevTools: Installed ${react}`);
} catch (error) {
console.warn(`installDevTools: Error occured:`, error);
console.warn(`installDevTools: Error occurred:`, error);
}
}
2 changes: 1 addition & 1 deletion src/renderer/components/dialog-add-version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface AddVersionDialogState {
}

/**
* Build a default name for a local Electron vresion
* Build a default name for a local Electron version
* from its dirname.
*
* @param {string} dirname
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/editor-mosaic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class EditorMosaic {

constructor() {
// whenever the mosaics are changed,
// upate the editor layout
// update the editor layout
reaction(
() => this.mosaic,
() => this.layout(),
Expand Down Expand Up @@ -107,7 +107,7 @@ export class EditorMosaic {
if (!isSupportedFile(id))
throw new Error(`Cannot add file "${id}": Must be .js, .html, or .css`);

// create a moncao model with the file's contents
// create a monaco model with the file's contents
const { monaco } = window.ElectronFiddle;
const language = monacoLanguage(id);
const model = monaco.editor.createModel(value, language);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/get-username.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as os from 'os';
let username = '';

/**
* Returns the curren username
* Returns the current username
*
* @export
* @returns {string}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/gist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*- https://gist.github.com/ckerr/8c5fc0c6a5153d49b5a4a56d3ed9da8f
*- https://gist.github.com/ckerr/8c5fc0c6a5153d49b5a4a56d3ed9da8f/
*
* @pararm {string} rawInput
* @param {string} rawInput
* returns {(string | null)}
*/
export function getGistId(rawInput: string): string | null {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/highlight-text.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';

/**
* Hightlights part of a string
* Highlights part of a string
*
* Inspired by https://github.com/palantir/blueprint/blob/develop/packages/docs-app/src/examples/select-examples/films.tsx
* License: https://github.com/palantir/blueprint/blob/develop/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion tests/renderer/state-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ describe('AppState', () => {
expect(appState.output[1].timeString).toBeTruthy();
});

it('ignores the "Debuggeer listening on..." output', () => {
it('ignores the "Debugger listening on..." output', () => {
appState.pushOutput('Debugger listening on ws://localhost:123');
expect(appState.output.length).toBe(1);
});
Expand Down

0 comments on commit 5567249

Please sign in to comment.