mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-31 13:12:27 +01:00
Replace a couple of references to util.Array with array.
This commit is contained in:
@@ -141,7 +141,7 @@ const Abbreviations = Module("abbreviations", {
|
||||
for (let [, mabbrevs] in Iterator(this.abbrevs))
|
||||
lhses = lhses.concat([key for (key in mabbrevs)]);
|
||||
lhses.sort();
|
||||
lhses = util.Array.uniq(lhses);
|
||||
lhses = array.uniq(lhses);
|
||||
|
||||
for (let [, lhs] in Iterator(lhses)) {
|
||||
let exists = {};
|
||||
|
||||
@@ -37,7 +37,7 @@ const Library = Module("library", {
|
||||
getAlbums: function getAlbums(artist) {
|
||||
let albums = this._toJSArray(this.MAIN_LIBRARY.getItemsByProperty(SBProperties.artistName, artist))
|
||||
.map(function (track) track.getProperty(SBProperties.albumName));
|
||||
return util.Array.uniq(albums);
|
||||
return array.uniq(albums);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user