1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-11 22:45:46 +01:00

Replace expression closures (getters).

Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
Doug Kearns
2015-05-27 04:42:30 +10:00
parent ce82387cdd
commit 6e8040286a
48 changed files with 808 additions and 532 deletions

View File

@@ -97,7 +97,7 @@ var Cache = Module("Cache", XPCOM(Ci.nsIRequestObserver), {
return this._cacheReader;
},
get inQueue() this._cacheWriter && this._cacheWriter.inQueue,
get inQueue() { return this._cacheWriter && this._cacheWriter.inQueue; },
getCacheWriter: function () {
if (!this._cacheWriter)