From 6bf82c4fbcd899f5f6ad0291e282df528ab892ba Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 9 Nov 2010 22:11:31 +1100 Subject: [PATCH] Declare an undeclared variable in Abbreviation.modeChar. --HG-- extra : rebase_source : 42ff7874f5e75b0bb7970610cd797b7d061e74d1 --- common/content/abbreviations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/abbreviations.js b/common/content/abbreviations.js index 4c0cb345..0dac5c3c 100644 --- a/common/content/abbreviations.js +++ b/common/content/abbreviations.js @@ -33,7 +33,7 @@ const Abbreviation = Class("Abbreviation", { }, { modeChar: function (_modes) { let result = ""; - for ([, mode] in Iterator(_modes)) + for (let [, mode] in Iterator(_modes)) result += modes.getMode(mode).char; if (/^(ic|ci)$/(result)) result = "!";