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

Whitespace fixes.

This commit is contained in:
Doug Kearns
2009-03-28 12:23:22 +11:00
parent 887855ed01
commit 0f311e09e3
2 changed files with 21 additions and 27 deletions

View File

@@ -1,7 +1,5 @@
// Import Artist List as this can be huge
function Player() // {{{
{
////////////////////////////////////////////////////////////////////////////////
@@ -15,7 +13,6 @@ function Player() // {{{
// Get the focus to the visible playlist first
//window._SBShowMainLibrary();
function getArtistsArray()
{
var list = LibraryUtils.mainLibrary;
@@ -232,7 +229,6 @@ function Player() // {{{
["<C-5>"], "Rate the current media item 5",
function () { player.rateMediaItem(5); });
////////////////// ///////////////////////////////////////////////////////////}}}
////////////////////// COMMANDS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
@@ -326,7 +322,7 @@ function Player() // {{{
},
{
argCount: "?",
completer: function(context, args) completion.playlist(context, args),
completer: function (context, args) completion.playlist(context, args),
literal: 0
});
@@ -652,9 +648,9 @@ function Player() // {{{
let mainLibrary = LibraryUtils.mainLibrary;
let playlists = [mainLibrary];
let listener = {
onEnumerationBegin: function() { },
onEnumerationEnd: function() { },
onEnumeratedItem: function(list, item)
onEnumerationBegin: function () { },
onEnumerationEnd: function () { },
onEnumeratedItem: function (list, item)
{
// FIXME: why are there null items and duplicates?
if (!playlists.some(function (list) list.name == item.name) && item.name != null)
@@ -707,7 +703,6 @@ function Player() // {{{
var items = list.getItemsByProperty(SBProperties.artistName, artist).enumerate();
var i = 0, j = 0;
while (items.hasMoreElements())
{
album = items.getNext().getProperty(SBProperties.albumName);
@@ -755,5 +750,4 @@ function Player() // {{{
//}}}
} // }}}
// vim: set fdm=marker sw=4 ts=4 et: