1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-10 14:13:44 +02:00

Release 1.0 βeta 4.

This commit is contained in:
Kris Maglione
2010-12-30 22:59:12 -05:00
parent eb59a48d77
commit 2a218c2785
8 changed files with 18 additions and 16 deletions

View File

@@ -32,10 +32,8 @@ var Abbreviation = Class("Abbreviation", {
get modeChar() Abbreviation.modeChar(this.modes)
}, {
modeChar: function (_modes) {
let result = "";
for (let [, mode] in Iterator(_modes))
result += modes.getMode(mode).char;
if (/^(ic|ci)$/(result))
let result = array.uniq(_modes.map(function (m) m.char)).join("");
if (result == "ci")
result = "!";
return result;
}