mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-28 03:33:31 +01:00
Do away with services.(get|create), and move the prefs module to its own file.
This commit is contained in:
@@ -49,7 +49,7 @@ const Library = Module("library", {
|
||||
* @returns {string[]}
|
||||
*/
|
||||
getTracks: function getTracks(artist, album) {
|
||||
let properties = services.create("mutablePropertyArray");
|
||||
let properties = services.MutablePropertyArray();
|
||||
|
||||
properties.appendProperty(SBProperties.artistName, artist);
|
||||
properties.appendProperty(SBProperties.albumName, album);
|
||||
|
||||
Reference in New Issue
Block a user