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:
@@ -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 = "!";
|
||||||
|
|||||||
Reference in New Issue
Block a user