mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-27 20:53:32 +02:00
Simplifyification.
This commit is contained in:
@@ -350,7 +350,9 @@ var Abbreviations = Module("abbreviations", {
|
||||
command: this.name,
|
||||
arguments: [abbr.lhs],
|
||||
literalArg: abbr.rhs,
|
||||
options: callable(abbr.rhs) ? {"-javascript": null} : {}
|
||||
options: {
|
||||
"-javascript": abbr.rhs ? null : undefined
|
||||
}
|
||||
}
|
||||
for ([, abbr] in Iterator(abbreviations.user.merged))
|
||||
if (abbr.modesEqual(modes))
|
||||
|
||||
Reference in New Issue
Block a user