mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-26 02:15:46 +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:
@@ -750,7 +750,9 @@ var RangeFind = Class("RangeFind", {
|
||||
this.save();
|
||||
},
|
||||
|
||||
docShell: Class.Memoize(function () util.docShell(this.window)),
|
||||
docShell: Class.Memoize(function () {
|
||||
return util.docShell(this.window);
|
||||
}),
|
||||
|
||||
intersects: function (range) RangeFind.intersects(this.range, range),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user