Florian Müllner 0ee7f02f8e cleanup: Don't assume hasOwnProperty() method on objects
Since ES5, it is possible to create objects with no prototype at all:

    let foo = Object.create(null);

Those object won't have any builtin properties like hasOwnProperty(),
which is why eslint added a corresponding rule to its default rule set.

While this isn't an issue that affects our code, there's no harm in fol-
lowing the recommendation and call the method through Object.prototype.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/716
2019-09-12 23:18:27 +02:00
..
2019-09-12 19:09:24 +02:00
2019-09-12 19:09:24 +02:00
2019-08-09 10:58:46 -03:00
2019-09-12 19:09:24 +02:00
2019-09-12 19:09:24 +02:00
2019-09-12 16:01:46 +00:00