mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 22:45:45 +01:00
Replace expression closures (getters).
Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
@@ -33,12 +33,14 @@ var Bookmarks = Module("bookmarks", {
|
||||
}
|
||||
},
|
||||
|
||||
get format() ({
|
||||
anchored: false,
|
||||
title: ["URL", "Info"],
|
||||
keys: { text: "url", description: "title", icon: "icon", extra: "extra", tags: "tags", isURI: function () true },
|
||||
process: [template.icon, template.bookmarkDescription]
|
||||
}),
|
||||
get format() {
|
||||
return {
|
||||
anchored: false,
|
||||
title: ["URL", "Info"],
|
||||
keys: { text: "url", description: "title", icon: "icon", extra: "extra", tags: "tags", isURI: function () true },
|
||||
process: [template.icon, template.bookmarkDescription]
|
||||
};
|
||||
},
|
||||
|
||||
// TODO: why is this a filter? --djk
|
||||
get: function get(filter, tags, maxItems, extra) {
|
||||
|
||||
Reference in New Issue
Block a user