1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:17:59 +01:00

And xulmus was born.

This commit is contained in:
Doug Kearns
2009-03-16 15:54:02 +11:00
parent 9f70457a4a
commit 80beaa41df
61 changed files with 7085 additions and 36 deletions

View File

@@ -1381,6 +1381,16 @@ function Completion() //{{{
completion.urls(context, tags);
},
songCompletion: function songCompletion(context, args)
{
if (args.completeArg == 0)
context.completions = getArtists();
else if (args.completeArg == 1)
context.completions = getAlbums(args[0]);
else if (args.completeArg == 2)
context.completions = getTracks(args[0],args[1]);
},
buffer: function buffer(context)
{
filter = context.filter.toLowerCase();