1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:37:58 +01:00

Update components to load more reliably on FF<4.0. Fix command line option parsing.

This commit is contained in:
Kris Maglione
2010-09-21 20:15:26 -04:00
parent a285d6a405
commit d9db020e81
3 changed files with 18 additions and 14 deletions

View File

@@ -109,6 +109,7 @@ ChromeData.prototype = {
};
function Dactyl() {
Dactyl.prototype.__proto__ = Cc["@dactyl.googlecode.com/base/dactyl"].getService().wrappedJSObject;
this.wrappedJSObject = this;
this.HELP_TAGS = {};
@@ -131,8 +132,6 @@ Dactyl.prototype = {
}
},
__proto__: Cc["@dactyl.googlecode.com/base/dactyl"].getService().wrappedJSObject,
init: function (obj) {
for each (let prop in ["HELP_TAGS", "FILE_MAP", "OVERLAY_MAP"]) {
this[prop] = this[prop].constructor();