mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-11 23:35:46 +01:00
Replace expression closures (getters).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -100,8 +100,8 @@ function ProtocolBase() {
|
||||
};
|
||||
}
|
||||
ProtocolBase.prototype = {
|
||||
get contractID() services.PROTOCOL + this.scheme,
|
||||
get classDescription() this.scheme + " utility protocol",
|
||||
get contractID() { return services.PROTOCOL + this.scheme; },
|
||||
get classDescription() { return this.scheme + " utility protocol"; },
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsIProtocolHandler]),
|
||||
|
||||
purge: function purge() {
|
||||
|
||||
Reference in New Issue
Block a user