typo fixes and whitespace/console.log removals
This commit is contained in:
parent
dfabfaad48
commit
c62033fb28
@ -5,7 +5,7 @@
|
|||||||
"author": "Tamius Han <tamius.han@gmail.com>",
|
"author": "Tamius Han <tamius.han@gmail.com>",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "cross-env HMR=true npm run build:dev -- --watch",
|
"start": "cross-env HMR=true npm run build:dev -- --watch",
|
||||||
"build": "cross-env NODE_ENV=production BROWSER=firefox CHANNEEL=stable webpack --hide-modules",
|
"build": "cross-env NODE_ENV=production BROWSER=firefox CHANNEL=stable webpack --hide-modules",
|
||||||
"build-chrome": "cross-env NODE_ENV=production BROWSER=chrome CHANNEL=stable webpack --hide-modules",
|
"build-chrome": "cross-env NODE_ENV=production BROWSER=chrome CHANNEL=stable webpack --hide-modules",
|
||||||
"build-edge": "cross-env NODE_ENV=production BROWSER=edge CHANNEL=stable webpack --hide-modules",
|
"build-edge": "cross-env NODE_ENV=production BROWSER=edge CHANNEL=stable webpack --hide-modules",
|
||||||
"build:dev": "cross-env NODE_ENV=development BROWSER=firefox CHANNEL=dev webpack --hide-modules",
|
"build:dev": "cross-env NODE_ENV=development BROWSER=firefox CHANNEL=dev webpack --hide-modules",
|
||||||
|
@ -51,7 +51,6 @@ class Logger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async init(conf) {
|
async init(conf) {
|
||||||
console.log("init logger with conf:", conf)
|
|
||||||
if (conf && process.env.CHANNEL === 'dev') {
|
if (conf && process.env.CHANNEL === 'dev') {
|
||||||
this.conf = conf;
|
this.conf = conf;
|
||||||
} else {
|
} else {
|
||||||
|
@ -63,7 +63,8 @@ class UW {
|
|||||||
'resizer': true,
|
'resizer': true,
|
||||||
'scaler': true,
|
'scaler': true,
|
||||||
'stretcher': true,
|
'stretcher': true,
|
||||||
'videoRescan': false,
|
// 'videoRescan': true,
|
||||||
|
// 'playerRescan': true,
|
||||||
'arDetect': true,
|
'arDetect': true,
|
||||||
'arDetect_verbose': true,
|
'arDetect_verbose': true,
|
||||||
}
|
}
|
||||||
@ -85,8 +86,6 @@ class UW {
|
|||||||
if (this.comms) {
|
if (this.comms) {
|
||||||
this.comms.destroy();
|
this.comms.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!this.settings) {
|
if (!this.settings) {
|
||||||
var ths = this;
|
var ths = this;
|
||||||
@ -94,8 +93,6 @@ class UW {
|
|||||||
await this.settings.init();
|
await this.settings.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.comms = new CommsClient('content-client-port', this.settings, this.logger);
|
this.comms = new CommsClient('content-client-port', this.settings, this.logger);
|
||||||
|
|
||||||
// če smo razširitev onemogočili v nastavitvah, ne naredimo ničesar
|
// če smo razširitev onemogočili v nastavitvah, ne naredimo ničesar
|
||||||
|
Loading…
Reference in New Issue
Block a user