1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 04:05:46 +01:00

:emenu: Hide hidden items, disable disabled items. Closes issue #582.

This commit is contained in:
Kris Maglione
2011-07-29 03:42:31 -04:00
parent 3b3d155986
commit 2c59c01232
5 changed files with 38 additions and 30 deletions

View File

@@ -338,7 +338,7 @@ var CompletionContext = Class("CompletionContext", {
* The prototype object for items returned by {@link items}.
*/
get itemPrototype() {
let res = {};
let res = { highlight: "" };
function result(quote) {
yield ["result", quote ? function () quote[0] + util.trapErrors(1, quote, this.text) + quote[2]
: function () this.text];