Remove trailing whitespace

This commit is contained in:
j883376
2013-05-06 13:07:41 -04:00
parent 7a93966158
commit ffcff4aea1
548 changed files with 16397 additions and 16398 deletions
+11 -11
View File
@@ -10,13 +10,13 @@
function GetStatusIdx() {
return idx++;
}
var offset = 0;
function StatusTic() {
$.getJSON("data/bug_data.html?offset="+offset+"&idx="+GetStatusIdx(),
function(data) {
var elm = document.getElementById("open_bugs_count");
var cur_offset = offset / 50;
var sep = (data.total_bug_count / 50);
var app = "";
@@ -31,7 +31,7 @@
}
}
elm.innerHTML = app;
$("#bug_table").empty();
var app_html = "<tr>";
app_html += "<th scope=\"col\">Reporter</th>";
@@ -40,7 +40,7 @@
app_html += "<th scope=\"col\">Descripton</th>";
app_html += "</tr>";
$("#bug_table").append(app_html);
for(var i = 0; i < data.bug_count; i++) {
for(var i = 0; i < data.bug_count; i++) {
app_html = "";
var mod = i % 2;
if(mod == 1) {
@@ -48,7 +48,7 @@
} else {
app_html += "<tr>";
}
var bug_text = data.bugs[i].bug;
bug_text = bug_text.replace("\r", "");
bug_text = bug_text.replace("\n", "</br>");
@@ -57,16 +57,16 @@
app_html += "<td>"+data.bugs[i].target+"</td>";
app_html += "<td style=\"text-align:left;\">"+bug_text+"</td>";
app_html += "</tr>";
$("#bug_table").append(app_html);
$("#bug_table").append(app_html);
}
});
}
function OpenBugs(off) {
offset = off;
StatusTic();
}
$(document).ready(function() {
setInterval("StatusTic()", 6000);
});
@@ -89,7 +89,7 @@
for(my $i = 0; $i < $sep; ++$i) {
my $cur = 50 * $i;
my $name = $i + 1;
if($i == $cur_offset) {
print "<b>$name</b> ";
}
@@ -113,13 +113,13 @@
if(!$bug) {
next;
}
if($i % 2 == 1) {
print "<tr class=\"odd\">";
} else {
print "<tr>";
}
my $bug_val = $bug->{bug};
$bug_val =~ s/\r//g;
$bug_val =~ s/\n/<br>/g;