mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 01:12:31 +02:00
Make config.styleableChrome an array.
This commit is contained in:
1 parent
2952c91c74
commit
bf240bc2b0
4 files changed
+5
-4
No files matched your search
@@ -142,7 +142,7 @@ function Highlights(name, store)
|
||||
let styles = storage.styles;
|
||||
|
||||
const Highlight = Struct("class", "selector", "filter", "default", "value");
|
||||
Highlight.defaultValue("filter", function () "chrome://liberator/content/buffer.xhtml" + "," + config.styleableChrome);
|
||||
Highlight.defaultValue("filter", function () ["chrome://liberator/content/buffer.xhtml"].concat(config.styleableChrome).join(","));
|
||||
Highlight.defaultValue("selector", function () self.selector(this.class));
|
||||
Highlight.defaultValue("value", function () this.default);
|
||||
Highlight.prototype.toString = function () "Highlight(" + this.class + ")\n\t" + [k + ": " + util.escapeString(v || "undefined") for ([k, v] in this)].join("\n\t");
|
||||
|
||||
Reference in new issue
Block a user