Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: dashboard/dashboard/elements/alerts-table.html

Issue 2432993005: Turn on eslint rule one-var and fix existing errors. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .eslintrc ('k') | dashboard/dashboard/elements/chart-container.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/elements/alerts-table.html
diff --git a/dashboard/dashboard/elements/alerts-table.html b/dashboard/dashboard/elements/alerts-table.html
index d54e042d2cbcc7b85125963aea867b21afc5e6c9..c21ce54e848e5f9f15f6368b94e0d8d82c7ecdb8 100644
--- a/dashboard/dashboard/elements/alerts-table.html
+++ b/dashboard/dashboard/elements/alerts-table.html
@@ -896,7 +896,9 @@ found in the LICENSE file.
if (this.previousCheckboxId == this.currentCheckboxId) {
return;
}
- var prevIndex = 0, currentIndex = 0, isChecked = null;
+ var prevIndex = 0;
+ var currentIndex = 0;
+ var isChecked = null;
for (var i = 0; i < this.alertList.length; i++) {
if (this.alertList[i].key == this.previousCheckboxId) {
prevIndex = i;
« no previous file with comments | « .eslintrc ('k') | dashboard/dashboard/elements/chart-container.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698