mirror of
https://github.com/jwetzell/aas-js.git
synced 2026-09-10 14:39:33 +00:00
remove lodash
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/* eslint-disable no-bitwise */
|
||||
const _ = require('lodash');
|
||||
|
||||
class Console {
|
||||
constructor() {
|
||||
this.sportInitialized = false;
|
||||
@@ -82,7 +80,9 @@ class Console {
|
||||
break;
|
||||
}
|
||||
if (this.propertiesToDelete) {
|
||||
this.state = _.omit(this.state, this.propertiesToDelete);
|
||||
this.propertiesToDelete.forEach((property) => {
|
||||
delete this.state[property];
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user