[Pkg-mozext-commits] [itsalltext] 337/459: Shut up the noise dumps to the console.
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository itsalltext.
commit e8fe6f6e9d6831babf983745f099c878dcbea70e
Author: Christian Höltje <docwhat at gmail.com>
Date: Fri Oct 24 11:15:40 2008 -0400
Shut up the noise dumps to the console.
---
src/chrome/content/itsalltext.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index 3213521..f0be94d 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -142,9 +142,9 @@ var ItsAllText = function () {
* @param {Object} message One or more objects can be passed in to display.
*/
that.debug = function () {
- var message = that.logString.apply(that, arguments);
- window.dump(message + '\n');
if (that.preferences && that.preferences.debug) {
+ var message = that.logString.apply(that, arguments);
+ window.dump(message + '\n');
try {
Firebug.Console.logFormatted(arguments);
} catch (e) {
@@ -205,7 +205,7 @@ var ItsAllText = function () {
* @type Hash
*/
that.preferences = {
- debug: true,
+ debug: false,
/**
* Fetches the current value of the preference.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git
More information about the Pkg-mozext-commits
mailing list