diff options
author | Matěj Cepl <mcepl@redhat.com> | 2012-04-11 11:38:06 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2012-04-11 11:38:06 +0200 |
commit | 03a01c78c630251416a6e21ad797158d9d16081b (patch) | |
tree | cfdca481801771db29acda4c7d297bc9f1e0dc42 /lib | |
parent | 3476e68c41e5a106a3f514c411ff93bfe0ad61a4 (diff) | |
download | bugzilla-triage-03a01c78c630251416a6e21ad797158d9d16081b.tar.gz |
Clean superfluous console.log calls and update HACKING
With debugging switched off the addons should generate nothing on the
console.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libbugzilla.js | 2 | ||||
-rw-r--r-- | lib/main.js | 1 | ||||
-rw-r--r-- | lib/xmlrpc.js | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index acb81e8..2829ecb 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -104,7 +104,7 @@ function getPassword(login, domain, callback) { url: domain, realm: BTSPassRealm, onComplete: function onComplete(credList) { - console.log("found credList = " + credList); + debug("found credList = " + credList); var credential = []; if (credList) { credential = credList[0]; diff --git a/lib/main.js b/lib/main.js index 18429c5..49cffd0 100644 --- a/lib/main.js +++ b/lib/main.js @@ -115,7 +115,6 @@ var contentScriptLibraries = [ ]; libbz.initialize(function(config) { - console.log("config.configData.bugPageMatch = " + config.configData.bugPageMatch); pageMod.PageMod({ include : config.configData.bugPageMatch, contentScriptWhen : 'ready', diff --git a/lib/xmlrpc.js b/lib/xmlrpc.js index c369e52..54dcd72 100644 --- a/lib/xmlrpc.js +++ b/lib/xmlrpc.js @@ -52,7 +52,6 @@ var leadingZero = exports.leadingZero = function leadingZero(n) { var dateToISO8601 = exports.dateToISO8601 = function dateToISO8601( date) { // wow I hate working with the Date object - console.log("date = " + date); var year = date.getYear(); var month = leadingZero(date.getMonth()); var day = leadingZero(date.getDate()); @@ -61,7 +60,6 @@ var dateToISO8601 = exports.dateToISO8601 = function dateToISO8601( + leadingZero(date.getSeconds()); var converted = year + month + day + "T" + time; - console.log("date = " + converted); return converted; }; |