1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-27 20:53:32 +02:00

Simplifyification.

This commit is contained in:
Kris Maglione
2011-10-19 22:45:55 -04:00
parent e43d81730e
commit 419d9b61f8
3 changed files with 14 additions and 13 deletions
+3 -1
View File
@@ -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))