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

Unified Diff: tracing/tracing/value/ui/scalar_span.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/tracks/rect_track.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/ui/scalar_span.html
diff --git a/tracing/tracing/value/ui/scalar_span.html b/tracing/tracing/value/ui/scalar_span.html
index 1ab5e864294407d0645301b546c76436e485580e..440e14158651ab44cbec3b63dab2f7ad0f72d945 100644
--- a/tracing/tracing/value/ui/scalar_span.html
+++ b/tracing/tracing/value/ui/scalar_span.html
@@ -403,7 +403,8 @@ Polymer({
// Draw the sparkline.
this.$.sparkline.style.display = 'block';
- var left, width;
+ var left;
+ var width;
if (this.value > 0) {
width = Math.min(this.value, rightPoint);
left = -leftPoint;
« no previous file with comments | « tracing/tracing/ui/tracks/rect_track.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698