Fix spelling (#3181)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh SorefandJosh Soref authored and GitHub committed 2021-07-16 08:53:01 -04:00
1 parent 9903417fed
commit e87b4836be
39 files changed
+54 -54

No files matched your search

@@ -56,7 +56,7 @@ class TestCatalogCategory2 extends CatalogCategory {
}
describe("CatalogCategoryRegistry", () => {
it("should remove only the category registered when running the disopser", () => {
it("should remove only the category registered when running the disposer", () => {
const registry = new TestCatalogCategoryRegistry();
expect(registry.items.length).toBe(0);
+2 -2
View File
@@ -52,7 +52,7 @@ export interface HotbarStoreModel {
activeHotbarId: string;
}
export const defaultHotbarCells = 12; // Number is choosen to easy hit any item with keyboard
export const defaultHotbarCells = 12; // Number is chosen to easy hit any item with keyboard
export class HotbarStore extends BaseStore<HotbarStoreModel> {
@observable hotbars: Hotbar[] = [];
@@ -203,7 +203,7 @@ export class HotbarStore extends BaseStore<HotbarStoreModel> {
}
/**
* Remvove all hotbar items that reference the `uid`.
* Remove all hotbar items that reference the `uid`.
* @param uid The `EntityId` that each hotbar item refers to
* @returns A function that will (in an action) undo the removing of the hotbar items. This function will not complete if the hotbar has changed.
*/
+3 -3
View File
@@ -193,9 +193,9 @@ const hiddenTableColumns: PreferenceDescription<[string, string[]][], Map<string
toStore(val) {
const res: [string, string[]][] = [];
for (const [table, columnes] of val) {
if (columnes.size) {
res.push([table, Array.from(columnes)]);
for (const [table, columns] of val) {
if (columns.size) {
res.push([table, Array.from(columns)]);
}
}
+1 -1
View File
@@ -27,7 +27,7 @@ export class ExtendedMap<K, V> extends Map<K, V> {
}
/**
* Get the value behind `key`. If it was not pressent, first insert the value returned by `getVal`
* Get the value behind `key`. If it was not present, first insert the value returned by `getVal`
* @param key The key to insert into the map with
* @param getVal A function that returns a new instance of `V`.
* @returns The value in the map