mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 21:44:11 +01:00
Make 'cpt' a stringlist. Add support for native autocomplete providers.
This commit is contained in:
@@ -10,7 +10,14 @@ defineModule("bookmarkcache", {
|
||||
require: ["services", "storage", "util"]
|
||||
}, this);
|
||||
|
||||
function newURI(url, charset, base) services.io.newURI(url, charset, base);
|
||||
function newURI(url, charset, base) {
|
||||
try {
|
||||
return services.io.newURI(url, charset, base);
|
||||
}
|
||||
catch (e) {
|
||||
throw Error(e);
|
||||
}
|
||||
}
|
||||
|
||||
var Bookmark = Struct("url", "title", "icon", "post", "keyword", "tags", "charset", "id");
|
||||
var Keyword = Struct("keyword", "title", "icon", "url");
|
||||
|
||||
Reference in New Issue
Block a user