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

Unified Diff: tracing/tracing/ui/base/chart_base_2d.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 | « tracing/tracing/ui/analysis/related_events_test.html ('k') | tracing/tracing/ui/base/quad_stack_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/chart_base_2d.html
diff --git a/tracing/tracing/ui/base/chart_base_2d.html b/tracing/tracing/ui/base/chart_base_2d.html
index 566c4dcd26ff55558c179e22daa6440cfc867c00..620840f2b7a425c9b2c744358b6bead630272e9a 100644
--- a/tracing/tracing/ui/base/chart_base_2d.html
+++ b/tracing/tracing/ui/base/chart_base_2d.html
@@ -130,7 +130,8 @@ tr.exportTo('tr.ui.b', function() {
},
getSampleWidth_: function(data, index, leftSide) {
- var leftIndex, rightIndex;
+ var leftIndex;
+ var rightIndex;
if (leftSide) {
leftIndex = Math.max(index - 1, 0);
rightIndex = index;
« no previous file with comments | « tracing/tracing/ui/analysis/related_events_test.html ('k') | tracing/tracing/ui/base/quad_stack_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698