[Pkg-mozext-commits] [wot] 126/226: disable some debug logging

David Prévot taffit at moszumanska.debian.org
Fri May 1 00:35:43 UTC 2015


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

taffit pushed a commit to branch master
in repository wot.

commit af3ae317cb5f70be23fc3fc143e07c7cc2eb0a42
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date:   Tue Aug 27 12:40:13 2013 +0300

    disable some debug logging
---
 content/api.js        | 10 ++++------
 content/categories.js |  4 ++--
 content/core.js       |  2 +-
 3 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/content/api.js b/content/api.js
index de31e28..15a2b66 100644
--- a/content/api.js
+++ b/content/api.js
@@ -953,7 +953,7 @@ var wot_pending =
 			var pref_name = Date.now();
 
 			if (wot_prefs.setChar("pending." + pref_name, JSON.stringify(obj))) {
-                wdump("Stored in prefs: " + JSON.stringify(obj));
+//                wdump("Stored in prefs: " + JSON.stringify(obj));
 				return true;
 			}
 
@@ -1181,7 +1181,7 @@ var wot_keeper = {
     },
 
     remove_by_name: function (target, name) {
-        wdump("keeper.remove_by_name()" + target + " " + name);
+//        wdump("keeper.remove_by_name()" + target + " " + name);
         wot_prefs.clear(wot_keeper._fullname(target, name));
     },
 
@@ -1325,7 +1325,7 @@ var wot_api_comments = {
 
     get: function(target) {
         var _this = wot_api_comments;
-        wdump("wot_api_comments.get(target) " + target);
+//        wdump("wot_api_comments.get(target) " + target);
 
         if (target) {
             _this.call("get",
@@ -1460,8 +1460,6 @@ var wot_api_comments = {
 
     processpending: function()
     {
-        wdump("wot_api_comments.processpending()");
-
         var branches = {};
         branches[this.PENDING_COMMENT_SID] = wot_api_comments.submit;
         branches[this.PENDING_REMOVAL_SID] = wot_api_comments.remove;
@@ -1480,7 +1478,7 @@ var wot_api_comments = {
     },
 
     pull_nonce: function (nonce) {
-        wdump("wot_api_comments._pull_once(nonce) " + nonce);
+//        wdump("wot_api_comments._pull_once(nonce) " + nonce);
 
         var _this = wot_api_comments,
             target = null;
diff --git a/content/categories.js b/content/categories.js
index de8c1be..1344cce 100644
--- a/content/categories.js
+++ b/content/categories.js
@@ -181,7 +181,7 @@ var wot_categories = {
         var cats_json = wot_cache.get(target, "cats"),
             cats = (cats_json && cats_json.length > 0) ? JSON.parse(cats_json) : {};
 
-        wdump("target_categories:: " + JSON.stringify(cats));
+//        wdump("target_categories:: " + JSON.stringify(cats));
         return cats;
     },
 
@@ -192,7 +192,7 @@ var wot_categories = {
         var bl_json = wot_cache.get(target, "blacklists"),
             bls = (bl_json && bl_json.length > 0) ? JSON.parse(bl_json) : [];
 
-        wdump("target_blacklists:: " + JSON.stringify(bls));
+//        wdump("target_blacklists:: " + JSON.stringify(bls));
         return bls;
 
     },
diff --git a/content/core.js b/content/core.js
index e3bee16..f9ee646 100644
--- a/content/core.js
+++ b/content/core.js
@@ -548,7 +548,7 @@ var wot_core =
 
 	update: function()
 	{
-        wdump("core.update()");
+//        wdump("core.update()");
 		try {
 			wot_core.hostname = null;
 

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



More information about the Pkg-mozext-commits mailing list