[Pkg-mozext-commits] [greasemonkey] 20/43: Remove unused component scope observer.

David Prévot taffit at moszumanska.debian.org
Sun Feb 22 21:56:11 UTC 2015


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit 64ee9207186be0425fa6e71aec1f44706b477b8e
Author: Anthony Lieuallen <arantius at gmail.com>
Date:   Fri Nov 7 09:13:29 2014 -0500

    Remove unused component scope observer.
---
 components/greasemonkey.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/components/greasemonkey.js b/components/greasemonkey.js
index e842164..a2a0620 100644
--- a/components/greasemonkey.js
+++ b/components/greasemonkey.js
@@ -44,10 +44,6 @@ function startup(aService) {
   loader.loadSubScript("chrome://greasemonkey/content/config.js");
   loader.loadSubScript("chrome://greasemonkey/content/third-party/mpl-utils.js");
 
-  var observerService = Components.classes['@mozilla.org/observer-service;1']
-     .getService(Components.interfaces.nsIObserverService);
-  observerService.addObserver(aService, 'document-element-inserted', false);
-
   var messageManager = Cc["@mozilla.org/globalmessagemanager;1"]
       .getService(Ci.nsIMessageListenerManager);
 

-- 
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