1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 22:15:44 +01:00

Fix minefield.

This commit is contained in:
Kris Maglione
2014-09-16 13:19:54 -07:00
parent 0f41b99a03
commit 3ab2fcf8e6
11 changed files with 24 additions and 23 deletions

View File

@@ -264,7 +264,7 @@ var Abbreviations = Module("abbreviations", {
* @optional
*/
list: function (modes, lhs, hives) {
let hives = (hives || this.userHives).filter(h => !h.empty);
hives = (hives || this.userHives).filter(h => !h.empty);
function abbrevs(hive)
hive.merged.filter(ab => (ab.inModes(modes) && ab.lhs.startsWith(lhs)));