Updated dependencies and linter

This commit is contained in:
n1474335 2019-07-05 12:22:52 +01:00
parent 4f70a79638
commit 5eb3979504
23 changed files with 383 additions and 263 deletions

View file

@ -25,8 +25,8 @@ class Dish {
this.type = Dish.ARRAY_BUFFER;
if (dish &&
dish.hasOwnProperty("value") &&
dish.hasOwnProperty("type")) {
Object.prototype.hasOwnProperty.call(dish, "value") &&
Object.prototype.hasOwnProperty.call(dish, "type")) {
this.set(dish.value, dish.type);
}
}