1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Fix multiple typos, closes #627

This commit is contained in:
tobspr
2020-09-19 07:49:17 +02:00
parent 1ebfafd8de
commit b5a2e77db4
16 changed files with 1197 additions and 1200 deletions

View File

@@ -30,10 +30,10 @@ export class Dialog {
* @param {string} param0.title Title of the dialog
* @param {string} param0.contentHTML Inner dialog html
* @param {Array<string>} param0.buttons
* Button list, each button contains of up to 3 parts seperated by ':'.
* Button list, each button contains of up to 3 parts separated by ':'.
* Part 0: The id, one of the one defined in dialog_buttons.yaml
* Part 1: The style, either good, bad or misc
* Part 2 (optional): Additional parameters seperated by '/', available are:
* Part 2 (optional): Additional parameters separated by '/', available are:
* timeout: This button is only available after some waiting time
* kb_enter: This button is triggered by the enter key
* kb_escape This button is triggered by the escape key

View File

@@ -224,7 +224,7 @@ export class ReadWriteProxy {
return rawData;
})
// Parse JSON, this could throw but thats fine
// Parse JSON, this could throw but that's fine
.then(res => {
try {
return JSON.parse(res);

View File

@@ -206,7 +206,7 @@ export class AtlasSprite extends BaseSprite {
srcX,
srcY,
// atlas src siize
// atlas src size
srcW,
srcH,