1
0
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:
Kris Maglione
2011-08-22 01:16:14 -04:00
parent 5f1fb91f95
commit fbb6af43ed
39 changed files with 1219 additions and 1191 deletions

View File

@@ -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);
}