1
0
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:
Kris Maglione
2010-12-01 21:57:51 -05:00
parent 0bf9cfb0bc
commit 5d51fd491a
26 changed files with 540 additions and 516 deletions

View File

@@ -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);