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