Skip to content

Commit

Permalink
move debug msg to verbose flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pacew committed Aug 12, 2011
1 parent a5d7b3f commit 1ad85ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chrome/content/keepitclean.js
Expand Up @@ -54,7 +54,6 @@ keepitclean.view_load = function (win) {
parent.appendChild (elt_summary);

var len = keepitclean.results.lines.length;
dump ("output lines " + len + "\n");

for (var i = 0; i < len; i++) {
var arr = keepitclean.results.lines[i];
Expand Down Expand Up @@ -222,10 +221,11 @@ keepitclean.every_page_load = function (ev) {
if (keepitclean.results == null) {
keepitclean.set_status (1, "ok");
} else {
dump ("results full: \n");
dump (keepitclean.results.lines);
if (keepitclean.verbose) {
dump ("results full: \n");
dump (keepitclean.results.lines);
}

/* pull off the first line */
keepitclean.summary = "" + keepitclean.results.linenum + ": " +
keepitclean.results.summary;

Expand Down

0 comments on commit 1ad85ae

Please sign in to comment.