aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2014-12-05 10:23:10 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2014-12-05 10:23:10 +0100
commit7dd99c0f17bdc65b1293fd12309493be5de47bd6 (patch)
treeac03f1520a48e4d492abfba41d5faa7e83bf1ff5
parent64b2bb79dffe2a0f37203297652ec930db528b40 (diff)
Fix jslint errors.
Change-Id: Ibedc25685652591a319bb20809e3450221a7e25c
-rw-r--r--app/dashboard/static/js/linaro-boots-job-1.0.4.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/dashboard/static/js/linaro-boots-job-1.0.4.js b/app/dashboard/static/js/linaro-boots-job-1.0.4.js
index 59cc2d0..023c755 100644
--- a/app/dashboard/static/js/linaro-boots-job-1.0.4.js
+++ b/app/dashboard/static/js/linaro-boots-job-1.0.4.js
@@ -35,7 +35,7 @@ function populateBootReports(data) {
'No boot reports available.</h4></td></tr>';
JSBase.replaceContentByID('#boot-reports-body', row);
} else {
- for (i; i < len; i++) {
+ for (i; i < len; i = i + 1) {
kernel = localData[i].kernel;
created = new Date(localData[i].created_on.$date);
href = '/boot/all/job/' + job + '/kernel/' + kernel + '/';
@@ -84,7 +84,7 @@ function countFailedDoneCallback(data) {
$('#span-id0').addClass('alert-danger');
}
} else {
- for (i; i < len; i++) {
+ for (i; i < len; i = i + 1) {
batchResult = localData[i].result[0];
count = batchResult.count;
@@ -136,7 +136,7 @@ function countFailedBootReports(data) {
);
} else {
// Perform POST on batch API.
- for (i; i < len; i++) {
+ for (i; i < len; i = i + 1) {
batchQueris[i] = {
'method': 'GET',
'operation_id': '#fail-count' + i,