mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 16:14:15 +01:00
Convert expression closures to arrow syntax.
This commit is contained in:
@@ -219,7 +219,7 @@ var Cache = Module("Cache", XPCOM(Ci.nsIRequestObserver), {
|
||||
_has: function _has(name) Set.has(this.providers, name) || set.has(this.cache, name),
|
||||
|
||||
has: function has(name) [this.globalProviders, this.cache, this.localProviders]
|
||||
.some(function (obj) Set.has(obj, name)),
|
||||
.some(obj => Set.has(obj, name)),
|
||||
|
||||
register: function register(name, callback, self) {
|
||||
if (this.isLocal)
|
||||
|
||||
Reference in New Issue
Block a user