*/
getAlbums: function getAlbums(artist) {
let albums = this._toJSArray(this.MAIN_LIBRARY.getItemsByProperty(SBProperties.artistName, artist))
- .map(function (track) track.getProperty(SBProperties.albumName));
+ .map(track => track.getProperty(SBProperties.albumName));
return array.uniq(albums);
},
properties.appendProperty(SBProperties.albumName, album);
return this._toJSArray(this.MAIN_LIBRARY.getItemsByProperties(properties))
- .map(function (track) track.getProperty(SBProperties.trackName));
+ .map(track => track.getProperty(SBProperties.trackName));
}
}, {
}, {