1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 06:54:11 +01:00

move some completion code to completion.js

This commit is contained in:
Doug Kearns
2008-10-07 15:32:48 +00:00
parent d0a7df74bc
commit 01e89bc6d8
8 changed files with 329 additions and 320 deletions

View File

@@ -283,7 +283,7 @@ liberator.Bookmarks = function () //{{{
},
{
bang: true,
completer: function (filter) [0, liberator.bookmarks.get(filter)],
completer: function (filter) liberator.completion.bookmark(filter),
options: [[["-tags", "-T"], liberator.commands.OPTION_LIST]]
});
@@ -296,7 +296,7 @@ liberator.Bookmarks = function () //{{{
liberator.echo(deletedCount + " bookmark(s) with url `" + url + "' deleted", liberator.commandline.FORCE_SINGLELINE);
},
{ completer: function (filter) [0, liberator.bookmarks.get(filter)] });
{ completer: function (filter) liberator.completion.bookmark(filter) });
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////
@@ -696,7 +696,7 @@ liberator.History = function () //{{{
function (args, special) { liberator.history.list(args, special); },
{
bang: true,
completer: function (filter) [0, liberator.history.get(filter)]
completer: function (filter) liberator.completion.history(filter)
});
/////////////////////////////////////////////////////////////////////////////}}}