1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-29 09:44:05 +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
+6 -3
View File
@@ -198,7 +198,8 @@ function getArtistsArray()
var artistArray = [];
var i = 0;
// Count the number of media items for each distinct artist
while (artists.hasMore()) {
while (artists.hasMore())
{
artist = artists.getNext();
artistArray[i] = [artist, artist];
list.enumerateItemsByProperty(SBProperties.artistName,
@@ -221,7 +222,8 @@ function getAlbums(artist)
var i = 0, j = 0;
while (items.hasMoreElements()) {
while (items.hasMoreElements())
{
album = items.getNext().getProperty(SBProperties.albumName);
albumArray[i] = [album, album];
@@ -253,7 +255,8 @@ function getTracks(artist,album)
pa.appendProperty(SBProperties.albumName, album.toString());
var items = list.getItemsByProperties(pa).enumerate();
while (items.hasMoreElements()) {
while (items.hasMoreElements())
{
track = items.getNext().getProperty(SBProperties.trackName);
tracksArray[i] = [track, track];
i++;