1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 16:04:12 +01:00

Fix RC serialization and RHS expansion in abbreviations using -js.

Fixes issue #911.
This commit is contained in:
Doug Kearns
2013-08-14 22:28:28 +10:00
parent 8a3f8fda4b
commit e5864bfd23
2 changed files with 2 additions and 2 deletions

View File

@@ -347,7 +347,7 @@ var Abbreviations = Module("abbreviations", {
arguments: [abbr.lhs],
literalArg: abbr.rhs,
options: {
"-javascript": abbr.rhs ? null : undefined
"-javascript": callable(abbr.rhs) ? null : undefined
}
}
for ([, abbr] in Iterator(abbreviations.user.merged))