mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-16 15:43:31 +01:00
Make .closure a Proxy and rename .bound
This commit is contained in:
@@ -558,7 +558,7 @@ var Styles = Module("Styles", {
|
||||
let uris = util.visibleURIs(window.content);
|
||||
context.compare = modules.CompletionContext.Sort.number;
|
||||
context.generate = () => args["-group"].sheets;
|
||||
context.keys.active = sheet => uris.some(sheet.closure.match);
|
||||
context.keys.active = sheet => uris.some(sheet.bound.match);
|
||||
context.keys.description = sheet => [sheet.formatSites(uris), ": ", sheet.css.replace("\n", "\\n")];
|
||||
if (filter)
|
||||
context.filters.push(({ item }) => filter(item));
|
||||
|
||||
Reference in New Issue
Block a user