1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 08:38:00 +01:00

Allow empty defsearch.

This commit is contained in:
Ted Pavlic
2008-12-19 10:49:56 -05:00
parent 86f14b77cc
commit 993ba60ee7
3 changed files with 11 additions and 1 deletions

View File

@@ -589,6 +589,13 @@ function Bookmarks() //{{{
return process(resp);
},
// Allows for creation of anonymous keyword (e.g., for empty
// defsearch's)
makeKeyword: function makeKeyword(keyword, title, icon, url)
{
return new Keyword( keyword, title, icon, url );
},
// TODO: add filtering
// format of returned array:
// [keyword, helptext, url]