mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 23:54:12 +01:00
Add dom.jsm. And stuff.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("help", {
|
||||
exports: ["help"],
|
||||
require: ["protocol", "services", "util"],
|
||||
require: ["dom", "protocol", "services", "util"],
|
||||
use: ["config", "highlight", "messages", "template"]
|
||||
}, this);
|
||||
|
||||
@@ -21,7 +21,8 @@ var Help = Module("Help", {
|
||||
function Loop(fn)
|
||||
function (uri, path) {
|
||||
if (!help.initialized)
|
||||
return RedirectChannel(uri.spec, uri, 1);
|
||||
return RedirectChannel(uri.spec, uri, 2,
|
||||
"Initializing. Please wait...");
|
||||
return fn.apply(this, arguments);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user