From ee37f620b4b382987b106bc42edaa384863d9062 Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Mon, 27 Jul 2020 00:21:06 +0200 Subject: [PATCH 1/3] fix typo --- src/server/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/options.js b/src/server/options.js index 3b1bb085..be594cde 100644 --- a/src/server/options.js +++ b/src/server/options.js @@ -70,7 +70,7 @@ module.exports = { 'd': {alias: 'debug', type: 'boolean', describe: 'log received osc messages in the console'}, 'n': {alias: 'no-gui', type: 'boolean', describe: 'disable default gui'}, 'fullscreen': {type: 'boolean', describe: 'launch in fullscreen mode (only affects the default client gui)'}, - 't': {alias: 'theme', type: 'array', describe: 'theme name or path (mutliple values allowed)'}, + 't': {alias: 'theme', type: 'array', describe: 'theme name or path (multiple values allowed)'}, 'client-options': {type: 'array', describe: 'client options (opt=value pairs)', check: (o)=>{ return o.some(item=>!item.match(/^[^=]*=[^=]*$/)) ? From 4aa744b5c45b38c8e9a330933002eeabb4e05a1b Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Mon, 27 Jul 2020 00:27:45 +0200 Subject: [PATCH 2/3] fix typo --- src/client/ui/ui-workspace.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/ui/ui-workspace.js b/src/client/ui/ui-workspace.js index 9e4cee53..95c3d189 100644 --- a/src/client/ui/ui-workspace.js +++ b/src/client/ui/ui-workspace.js @@ -1,7 +1,7 @@ var UiWidget = require('./ui-widget'), setScrollbarColor = require('./scrollbar-color') -class UiWorksapce extends UiWidget { +class UiWorkspace extends UiWidget { constructor(options) { @@ -13,4 +13,4 @@ class UiWorksapce extends UiWidget { } -module.exports = new UiWorksapce({selector: 'osc-workspace'}) +module.exports = new UiWorkspace({selector: 'osc-workspace'}) From 88f9372c6bf5540ae8d0985631c9eb16a1990554 Mon Sep 17 00:00:00 2001 From: ritschwumm Date: Mon, 27 Jul 2020 00:32:18 +0200 Subject: [PATCH 3/3] fix typo in comment --- src/client/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/utils.js b/src/client/utils.js index 5a41596d..e4e06d67 100644 --- a/src/client/utils.js +++ b/src/client/utils.js @@ -38,7 +38,7 @@ module.exports = { isJSON: function(str) { // heuristic to avoid using JSON when unnecessary - // if the string doesn't starts with one of these chars + // if the string doesn't start with one of these chars // it's going to fail // ref in source: https://github.com/douglascrockford/JSON-js return ' \n+-eE{([0123456789tfn"'.indexOf(str[0]) !== -1