mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 10:55:46 +01:00
Replace expression closures (getters).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -68,13 +68,13 @@ var MOW = Module("mow", {
|
||||
|
||||
__noSuchMethod__: function (meth, args) apply(Buffer, meth, [this.body].concat(args)),
|
||||
|
||||
get widget() this.widgets.multilineOutput,
|
||||
get widget() { return this.widgets.multilineOutput; },
|
||||
|
||||
widgets: Class.Memoize(function widgets() commandline.widgets),
|
||||
|
||||
body: Class.Memoize(function body() this.widget.contentDocument.documentElement),
|
||||
get document() this.widget.contentDocument,
|
||||
get window() this.widget.contentWindow,
|
||||
get document() { return this.widget.contentDocument; },
|
||||
get window() { return this.widget.contentWindow; },
|
||||
|
||||
/**
|
||||
* Display a multi-line message.
|
||||
|
||||
Reference in New Issue
Block a user