1
0
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:
Doug Kearns
2010-11-08 21:39:39 +11:00
parent 4a2d35c4f4
commit b21c2a093f
2 changed files with 2 additions and 2 deletions

View File

@@ -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 = {};

View File

@@ -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);
},
/**