1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 06:35:48 +01:00

Merge addon-common module loading code to fix Minefield.

--HG--
extra : rebase_source : 6b5f0dc0a575a6d21892e18cbb56ab0230382356
This commit is contained in:
Kris Maglione
2012-05-07 17:01:21 -04:00
parent 461b26c603
commit 43f3295127
33 changed files with 415 additions and 543 deletions

View File

@@ -4,14 +4,14 @@
// given in the LICENSE.txt file included with this file.
/* use strict */
Components.utils.import("resource://dactyl/bootstrap.jsm");
defineModule("help", {
exports: ["help"],
require: ["cache", "dom", "protocol", "services", "util"]
}, this);
});
this.lazyRequire("completion", ["completion"]);
this.lazyRequire("overlay", ["overlay"]);
lazyRequire("completion", ["completion"]);
lazyRequire("overlay", ["overlay"]);
lazyRequire("template", ["template"]);
var HelpBuilder = Class("HelpBuilder", {
init: function init() {
@@ -202,7 +202,6 @@ var Help = Module("Help", {
return '<?xml version="1.0"?>\n' +
'<?xml-stylesheet type="text/xsl" href="dactyl://content/help.xsl"?>\n' +
'<!DOCTYPE document SYSTEM "resource://dactyl-content/dactyl.dtd">\n' +
<document xmlns={NS} xmlns:dactyl={NS}
name="versions" title={config.appName + " Versions"}>
<h1 tag="versions news NEWS">{config.appName} Versions</h1>