summaryrefslogtreecommitdiff
path: root/common/modules/config.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-13 18:26:27 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-13 18:26:27 -0500
commitf0dbc8f2f029107ec4b89afd36b2e4b80497f189 (patch)
tree51870ceb5f37625fd6ecf9080b8d905715374ae6 /common/modules/config.jsm
parent3e854158905cde79e2827addcd6d2483bb0b8849 (diff)
downloadpentadactyl-f0dbc8f2f029107ec4b89afd36b2e4b80497f189.tar.gz
Fix help on FF3, overly long URL chains in context filenames, etc.
Diffstat (limited to 'common/modules/config.jsm')
-rw-r--r--common/modules/config.jsm5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/modules/config.jsm b/common/modules/config.jsm
index c7d28aac..77110d9e 100644
--- a/common/modules/config.jsm
+++ b/common/modules/config.jsm
@@ -81,7 +81,8 @@ var ConfigBase = Class("ConfigBase", {
}
else {
return array(f.leafName
- for (f in util.getFile(uri).iterDirectory())
+ // Fails on FF3: for (f in util.getFile(uri).iterDirectory())
+ for (f in values(util.getFile(uri).readDirectory()))
if (f.isDirectory())).array;
}
}),
@@ -636,7 +637,7 @@ var ConfigBase = Class("ConfigBase", {
]]></>)
});
-services.subscriptLoader.loadSubScript("resource://dactyl-local-content/config.js", this);
+JSMLoader.loadSubScript("resource://dactyl-local-content/config.js", this);
config.INIT = update(Object.create(config.INIT), config.INIT, {
init: function init(dactyl, modules, window) {