[Pkg-mozext-commits] [greasemonkey] 07/16: Remove FF3 specific code path.

David Prévot taffit at moszumanska.debian.org
Thu Jan 30 13:42:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository greasemonkey.

commit 0b7b6cdd542388cf2d012f5294baa40c919d9bb0
Author: Ventero <ventero at ventero.de>
Date:   Sun Jan 26 22:47:59 2014 +0100

    Remove FF3 specific code path.
---
 components/scriptProtocol.js | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/components/scriptProtocol.js b/components/scriptProtocol.js
index 3225209..ee5eb60 100644
--- a/components/scriptProtocol.js
+++ b/components/scriptProtocol.js
@@ -93,9 +93,4 @@ ScriptProtocol.prototype.newChannel = function(aUri) {
   return new DummyChannel(aUri);
 };
 
-const components = [ScriptProtocol];
-if ("generateNSGetFactory" in XPCOMUtils) {
-  var NSGetFactory = XPCOMUtils.generateNSGetFactory(components); // Gecko 2.0+
-} else {
-  var NSGetModule = XPCOMUtils.generateNSGetModule(components); // Gecko 1.9.x
-}
+var NSGetFactory = XPCOMUtils.generateNSGetFactory([ScriptProtocol]);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git



More information about the Pkg-mozext-commits mailing list