mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 21:14:12 +01:00
Replace expression closures (getters).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -224,11 +224,14 @@ var KeyProcessor = Class("KeyProcessor", {
|
||||
this.wantCount = this.main.count;
|
||||
},
|
||||
|
||||
get toStringParams() [this.main.name, this.hive.name],
|
||||
get toStringParams() { return [this.main.name, this.hive.name]; },
|
||||
|
||||
countStr: "",
|
||||
command: "",
|
||||
get count() this.countStr ? Number(this.countStr) : this.main.params.count || null,
|
||||
get count() {
|
||||
return this.countStr ? Number(this.countStr)
|
||||
: this.main.params.count || null;
|
||||
},
|
||||
|
||||
append: function append(event) {
|
||||
this.events.push(event);
|
||||
|
||||
Reference in New Issue
Block a user