mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 13:15:45 +01:00
Replace expression closures (methods).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -66,7 +66,9 @@ var MOW = Module("mow", {
|
||||
});
|
||||
},
|
||||
|
||||
__noSuchMethod__: function (meth, args) apply(Buffer, meth, [this.body].concat(args)),
|
||||
__noSuchMethod__: function (meth, args) {
|
||||
return apply(Buffer, meth, [this.body].concat(args));
|
||||
},
|
||||
|
||||
get widget() { return this.widgets.multilineOutput; },
|
||||
|
||||
@@ -288,7 +290,9 @@ var MOW = Module("mow", {
|
||||
},
|
||||
|
||||
visible: Modes.boundProperty({
|
||||
get: function get_mowVisible() !this.widgets.mowContainer.collapsed,
|
||||
get: function get_mowVisible() {
|
||||
return !this.widgets.mowContainer.collapsed;
|
||||
},
|
||||
set: function set_mowVisible(value) {
|
||||
this.widgets.mowContainer.collapsed = !value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user