1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 14:24:17 +01:00

Declare an undeclared variable in Abbreviation.modeChar.

--HG--
extra : rebase_source : 42ff7874f5e75b0bb7970610cd797b7d061e74d1
This commit is contained in:
Doug Kearns
2010-11-09 22:11:31 +11:00
parent 833fcaacdc
commit 6bf82c4fbc

View File

@@ -33,7 +33,7 @@ const Abbreviation = Class("Abbreviation", {
}, { }, {
modeChar: function (_modes) { modeChar: function (_modes) {
let result = ""; let result = "";
for ([, mode] in Iterator(_modes)) for (let [, mode] in Iterator(_modes))
result += modes.getMode(mode).char; result += modes.getMode(mode).char;
if (/^(ic|ci)$/(result)) if (/^(ic|ci)$/(result))
result = "!"; result = "!";