mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:07:58 +01:00
Replace expression closures (function expressions - named and dynamic this).
Expression closures are to be axed. See https://bugzil.la/1083458. Leaving deprecated() and literal() calls and method shorthand syntax conversions until after the ESR overlap.
This commit is contained in:
@@ -759,8 +759,10 @@ var Hints = Module("hints", {
|
||||
events.listen(appContent, "scroll", this.resizeTimer.bound.tell, false);
|
||||
|
||||
const Mode = Hints.Mode;
|
||||
Mode.prototype.__defineGetter__("matcher", function ()
|
||||
options.get("extendedhinttags").getKey(this.name, options.get("hinttags").matcher));
|
||||
Mode.prototype.__defineGetter__("matcher", function () {
|
||||
return options.get("extendedhinttags")
|
||||
.getKey(this.name, options.get("hinttags").matcher);
|
||||
});
|
||||
|
||||
function cleanLoc(loc) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user