1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 05:44:18 +01:00

Mangle pathnames in the XPI to foil the fastload cache on upgrade and fix the command line option handler in fresh installs.

This commit is contained in:
Kris Maglione
2010-12-30 21:34:13 -05:00
parent 04731384f6
commit 47288b3456
11 changed files with 43 additions and 36 deletions

1
common/bootstrap.js vendored
View File

@@ -99,6 +99,7 @@ FactoryProxy.prototype = {
},
get module() {
try {
dump("dactyl: bootstrap: create module: " + this.contractID + "\n");
Object.defineProperty(this, "module", { value: {}, enumerable: true });
JSMLoader.load(this.url, this.module);
JSMLoader.registerGlobal(this.url, this.module.global);