diff options
author | Kris Maglione <maglione.k@gmail.com> | 2009-05-23 21:08:50 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2009-05-23 21:10:32 -0400 |
commit | b8aab050e9de68835f337b162f8c040a9b896a76 (patch) | |
tree | 43ddc74b17c46280d165effc449a22e86aa0bd79 /common/content/liberator-overlay.js | |
parent | 16b8af74d1c89f0fe5edc8d6d578d85ee63cd5a4 (diff) | |
download | pentadactyl-b8aab050e9de68835f337b162f8c040a9b896a76.tar.gz |
Remove some config.name checks. Add configbase module.
Diffstat (limited to 'common/content/liberator-overlay.js')
-rw-r--r-- | common/content/liberator-overlay.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/content/liberator-overlay.js b/common/content/liberator-overlay.js index d7890d8a..9367098c 100644 --- a/common/content/liberator-overlay.js +++ b/common/content/liberator-overlay.js @@ -33,6 +33,7 @@ ["services.js", "liberator.js", + "configbase.js", "config.js", "util.js", "style.js", @@ -50,9 +51,9 @@ "template.js", "ui.js"].forEach(load); + modules.config.__proto__ = modules.configbase; prefix.unshift("chrome://" + modules.config.name.toLowerCase() + "/content/"); - if (modules.config.scripts) - modules.config.scripts.forEach(load); + modules.config.scripts.forEach(load); })() |