Skip to content

Commit

Permalink
removing testing code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos Dinic committed Sep 13, 2012
1 parent bf8ba81 commit f05c3a6
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ $(function() {
var openCats = []; /* banner categories we have openeed bugs for */
for (var i = 0; i < locales[locale].bugs.length; i++) {
ids.push(locales[locale].bugs[i].id);
/*
cats = cats.concat(locales[locale].bugs[i].categories);
cats = cats.join("`").toLowerCase().split("`"); */

if (locales[locale].bugs[i].status == 'NEW' ||
locales[locale].bugs[i].status == 'ASSIGNED' ||
locales[locale].bugs[i].status == 'REOPENED') {
Expand Down Expand Up @@ -141,12 +137,10 @@ $(function() {
params.push(tempParams.join(""));
}
});
console.log(params);
console.log(summary);
meta.locale = params[0].toLowerCase();
meta.categories = params.slice(1);
/* testing
console.log("params:" + params);
console.log("locale: " + meta.locale + "; categories: " + meta.categories + "; summary: " + meta.summary);
*/
return meta;
}

Expand All @@ -167,7 +161,6 @@ $(function() {
categories: meta.categories,
status: bug.status
});
/* console.log("just added to locale " + meta.locale + " a bug number " + bug.id); */
} else {
locales[meta.locale].bugs.push({ id: bug.id,
summary: meta.summary,
Expand Down

0 comments on commit f05c3a6

Please sign in to comment.