mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-19 11:25:46 +01:00
Refactor the Styles API and implimentation slightly. Move deprecated() to base.jsm.
This commit is contained in:
@@ -35,7 +35,7 @@ Highlight.defaultValue("sites", function ()
|
||||
: ["chrome://dactyl/*", "dactyl:*", "file://*"].concat(
|
||||
highlight.styleableChrome));
|
||||
Highlight.defaultValue("style", function ()
|
||||
styles.addSheet(true, "highlight:" + this.class, this.sites, this.css, this.agent, true));
|
||||
styles.system.add("highlight:" + this.class, this.sites, this.css, this.agent, true));
|
||||
Highlight.defaultValue("value", function () this.default);
|
||||
|
||||
Highlight.prototype.__defineGetter__("base", function ()
|
||||
|
||||
Reference in New Issue
Block a user