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'}) 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 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(/^[^=]*=[^=]*$/)) ?