remove unneeded assignments

This commit is contained in:
Iuri Matias 2018-06-01 19:14:54 -04:00
parent 07e58bcd04
commit 083961fc21
2 changed files with 0 additions and 2 deletions

View File

@ -32,7 +32,6 @@ class Engine {
}
init(_options) {
let self = this;
let options = _options || {};
this.events = options.events || this.events || new Events();
this.logger = options.logger || new Logger({logLevel: options.logLevel || this.logLevel || 'debug', events: this.events, logFile: this.logFile});

View File

@ -6,7 +6,6 @@ let Console = require('./console.js');
class Dashboard {
constructor(options) {
const self = this;
this.logger = options.logger;
this.events = options.events;
this.plugins = options.plugins;