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

Some Gecko 2 fixes.

--HG--
branch : testing
This commit is contained in:
Kris Maglione
2010-08-08 22:03:42 -04:00
parent 1210bc574a
commit 0e3b5ca121
11 changed files with 175 additions and 93 deletions

View File

@@ -43,6 +43,9 @@ CommandLineHandler.prototype = {
}
};
function NSGetModule(compMgr, fileSpec) XPCOMUtils.generateModule([CommandLineHandler])
if (XPCOMUtils.generateNSGetFactory)
const NSGetFactory = XPCOMUtils.generateNSGetFactory([CommandLineHandler]);
else
const NSGetModule = XPCOMUtils.generateNSGetModule([CommandLineHandler]);
// vim: set ft=javascript fdm=marker sw=4 ts=4 et: