diff --git a/common/content/abbreviations.js b/common/content/abbreviations.js index 570bfabe..61d76e53 100644 --- a/common/content/abbreviations.js +++ b/common/content/abbreviations.js @@ -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 = {}; diff --git a/melodactyl/content/library.js b/melodactyl/content/library.js index 66d904dd..4d7c0bbe 100644 --- a/melodactyl/content/library.js +++ b/melodactyl/content/library.js @@ -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); }, /**