diff options
Diffstat (limited to 'common/bootstrap.js')
-rwxr-xr-x | common/bootstrap.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/bootstrap.js b/common/bootstrap.js index e63bc0c6..d7827dbf 100755 --- a/common/bootstrap.js +++ b/common/bootstrap.js @@ -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; }, |