[Pkg-mozext-commits] [nosquint] 16/47: Import of 2.0.2 release into git
David Prévot
taffit at moszumanska.debian.org
Tue Apr 28 01:41:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 2.1.6
in repository nosquint.
commit cbbc5ce13c49d0bf9f30c5fa8936f7c2f6f02a6d
Author: Jason Tackaberry <tack at urandom.ca>
Date: Fri Jan 13 19:41:13 2012 -0500
Import of 2.0.2 release into git
---
src/content/browser.js | 5 -----
src/content/interfaces.js | 9 ++++-----
src/content/lib.js | 2 +-
src/install.rdf | 2 +-
4 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/src/content/browser.js b/src/content/browser.js
index 8d1c075..e94688b 100644
--- a/src/content/browser.js
+++ b/src/content/browser.js
@@ -314,11 +314,6 @@ NoSquint.browser = NoSquint.ns(function() { with (NoSquint) {
var listener = new NSQ.interfaces.ProgressListener(browser);
browser.addProgressListener(listener, CI.nsIWebProgress.NOTIFY_STATE_DOCUMENT);
debug('attach(): attached browser URI=' + browser.docShell.document.URL);
- function foo() {
- debug('BROWSER URI: ' + browser.currentURI.spec);
- setTimeout(foo, 1000);
- }
- //foo();
var userData = {
listener: listener,
diff --git a/src/content/interfaces.js b/src/content/interfaces.js
index 5d56f5f..d6ed632 100644
--- a/src/content/interfaces.js
+++ b/src/content/interfaces.js
@@ -114,11 +114,10 @@ NoSquint.interfaces = NoSquint.ns(function() { with (NoSquint) {
*
* The specific magical incantation to deal with this seems to
* be handling STATE_IS_DOCUMENT when site=null. After a 0ms
- * timer, we try to readd the listener that was previously
- * added in NSQ.browser.attach(). If it fails, we assume the
- * listener from attach() is still there and everything is cool
- * after all. Otherwise, regenerate the site name and
- * rezooms/style.
+ * timer, we try to re-add this listener ('this'). If it
+ * fails, we assume the listener from attach() is still there
+ * and everything is cool after all. Otherwise, regenerate the
+ * site name and rezooms/style.
*
* This seems to solve the problem, but feels like a nasty volatile
* hack to work around what is probably a firefox bug, and will
diff --git a/src/content/lib.js b/src/content/lib.js
index 8669c6b..1163140 100644
--- a/src/content/lib.js
+++ b/src/content/lib.js
@@ -97,7 +97,7 @@
// XXX: don't forget to disable this for releases.
this.debug = function(msg) {
- dump("[nosquint] " + msg + "\n");
+ //dump("[nosquint] " + msg + "\n");
};
/* This function is called a lot, so we take some care to optimize for the
diff --git a/src/install.rdf b/src/install.rdf
index 359c2bb..398dbf8 100644
--- a/src/install.rdf
+++ b/src/install.rdf
@@ -6,7 +6,7 @@
<em:id>nosquint at urandom.ca</em:id>
<em:name>NoSquint</em:name>
- <em:version>2.0.2b1</em:version>
+ <em:version>2.0.2</em:version>
<em:description>Manage site-specific zoom levels and color settings</em:description>
<em:creator>Jason Tackaberry</em:creator>
<!-- optional items -->
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nosquint.git
More information about the Pkg-mozext-commits
mailing list