1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-07 10:33:33 +02:00

Whitespace formatting fixes.

This commit is contained in:
Doug Kearns
2009-03-20 00:48:41 +11:00
parent 122657730a
commit 56ee77ba4f
2 changed files with 21 additions and 18 deletions

View File

@@ -198,7 +198,8 @@ function getArtistsArray()
var artistArray = []; var artistArray = [];
var i = 0; var i = 0;
// Count the number of media items for each distinct artist // Count the number of media items for each distinct artist
while (artists.hasMore()) { while (artists.hasMore())
{
artist = artists.getNext(); artist = artists.getNext();
artistArray[i] = [artist, artist]; artistArray[i] = [artist, artist];
list.enumerateItemsByProperty(SBProperties.artistName, list.enumerateItemsByProperty(SBProperties.artistName,
@@ -221,7 +222,8 @@ function getAlbums(artist)
var i = 0, j = 0; var i = 0, j = 0;
while (items.hasMoreElements()) { while (items.hasMoreElements())
{
album = items.getNext().getProperty(SBProperties.albumName); album = items.getNext().getProperty(SBProperties.albumName);
albumArray[i] = [album, album]; albumArray[i] = [album, album];
@@ -253,7 +255,8 @@ function getTracks(artist,album)
pa.appendProperty(SBProperties.albumName, album.toString()); pa.appendProperty(SBProperties.albumName, album.toString());
var items = list.getItemsByProperties(pa).enumerate(); var items = list.getItemsByProperties(pa).enumerate();
while (items.hasMoreElements()) { while (items.hasMoreElements())
{
track = items.getNext().getProperty(SBProperties.trackName); track = items.getNext().getProperty(SBProperties.trackName);
tracksArray[i] = [track, track]; tracksArray[i] = [track, track];
i++; i++;