mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-04 17:05:46 +01:00
Add <Pass> pseudo-key.
--HG-- extra : rebase_source : e1d27c1fd04a598a25cd0c0c8c266834e80b2320
This commit is contained in:
@@ -50,7 +50,7 @@ var Map = Class("Map", {
|
||||
name: Class.memoize(function () this.names[0]),
|
||||
|
||||
/** @property {string[]} All of this mapping's names (key sequences). */
|
||||
names: Class.memoize(function () this._keys.map(events.closure.canonicalKeys)),
|
||||
names: Class.memoize(function () this._keys.map(function (k) events.canonicalKeys(k))),
|
||||
|
||||
get toStringParams() [this.modes.map(function (m) m.name), this.names.map(String.quote)],
|
||||
|
||||
@@ -393,7 +393,7 @@ var Mappings = Module("mappings", {
|
||||
modeSign = modeSign.replace(/^ /, "");
|
||||
|
||||
hives = (hives || mappings.userHives).map(function (h) [h, maps(h)])
|
||||
.filter(function ([h, m]) !filter || m.length);
|
||||
.filter(function ([h, m]) m.length);
|
||||
|
||||
function maps(hive) {
|
||||
let maps = iter.toArray(hive.iterate(modes));
|
||||
|
||||
Reference in New Issue
Block a user