[Pkg-mozext-commits] [compactheader] 270/441: Remove variable leakage.

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 12:29:08 UTC 2015


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

taffit pushed a commit to branch master
in repository compactheader.

commit f2b58b2259ba1881579cfb9b196a9cc78a7191de
Author: joachim <none at none>
Date:   Tue Aug 23 19:40:43 2011 +0200

    Remove variable leakage.
    
    --HG--
    branch : review_requests
    extra : rebase_source : f56ab4f6f14d23538d975423b3c1dfcdba02f112
---
 chrome/CompactHeader/content/RSSLinkify.js | 2 +-
 chrome/CompactHeader/content/debug.js      | 2 --
 chrome/CompactHeader/content/toolbar.js    | 2 +-
 install.rdf                                | 2 +-
 4 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/chrome/CompactHeader/content/RSSLinkify.js b/chrome/CompactHeader/content/RSSLinkify.js
index 3944611..d4e8ff2 100644
--- a/chrome/CompactHeader/content/RSSLinkify.js
+++ b/chrome/CompactHeader/content/RSSLinkify.js
@@ -107,7 +107,7 @@ org.mozdev.compactHeader.RSSLinkify = function() {
   pub.openBrowser = function(event) {
     org.mozdev.compactHeader.debug.log("open browser 0" + event.attrName);
     if (!event.button) {
-      url = RSSLinkify.newSubject.getAttribute("url");
+      let url = RSSLinkify.newSubject.getAttribute("url");
       org.mozdev.compactHeader.debug.log("open browser 2" + url);
       messenger.launchExternalURL(url);
     }
diff --git a/chrome/CompactHeader/content/debug.js b/chrome/CompactHeader/content/debug.js
index 15545bd..fed9dec 100644
--- a/chrome/CompactHeader/content/debug.js
+++ b/chrome/CompactHeader/content/debug.js
@@ -38,8 +38,6 @@
 # ***** END LICENSE BLOCK *****
 */
 
-EXPORTED_SYMBOLS = ["org"];
-
 if(!org) var org={};
 if(!org.mozdev) org.mozdev={};
 if(!org.mozdev.compactHeader) org.mozdev.compactHeader = {};
diff --git a/chrome/CompactHeader/content/toolbar.js b/chrome/CompactHeader/content/toolbar.js
index 6e3e7cc..60b9936 100644
--- a/chrome/CompactHeader/content/toolbar.js
+++ b/chrome/CompactHeader/content/toolbar.js
@@ -392,7 +392,7 @@ org.mozdev.compactHeader.toolbar = function() {
   };
 
 
-  removeButtonDispMUA = function() {
+  function removeButtonDispMUA() {
     org.mozdev.compactHeader.debug.log("removeButtonDispMUA start");
     if (!document.getElementById("dispMUA")) {
       var button = document.getElementById("button-dispMUA");
diff --git a/install.rdf b/install.rdf
index c8a0c5b..a0ce08b 100644
--- a/install.rdf
+++ b/install.rdf
@@ -6,7 +6,7 @@
 
 	<RDF:Description about="urn:mozilla:install-manifest">
 		<em:name>CompactHeader</em:name>
-		<em:version>1.4.2</em:version>
+		<em:version>1.4.3beta1</em:version>
 		<em:description>Add ability to reduce header size to one or two lines. Linkify subjects in RSS feeds.</em:description>
 		<em:creator>Joachim Herb</em:creator>
 		<em:contributor>Zamula</em:contributor>

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



More information about the Pkg-mozext-commits mailing list