1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:17:59 +01:00

Fix about:pentadactyl.

This commit is contained in:
Kris Maglione
2011-01-13 20:04:14 -05:00
parent 967a213019
commit d62371042c
3 changed files with 4 additions and 6 deletions

4
common/bootstrap.js vendored
View File

@@ -63,7 +63,7 @@ function startup(data, reason) {
AddonManager.getAddonByID(addon.id, function (a) { addon = a; });
// Temporary hack.
if (basePath.isDirectory() && JSMLoader.bump == null)
if (basePath.isDirectory() && global.JSMLoader && JSMLoader.bump == null)
JSMLoader.bump = 2;
if (basePath.isDirectory())
@@ -100,8 +100,6 @@ FactoryProxy.prototype = {
dump("dactyl: bootstrap: create module: " + this.contractID + "\n");
Object.defineProperty(this, "module", { value: {}, enumerable: true });
dump("get module " + this.url + "\n");
dump(" " + (JSMLoader.stale[this.url]) + "\n");
JSMLoader.load(this.url, this.module);
return this.module;
},