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

Unified Diff: tracing/tracing/ui/timeline_view_test.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 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/timeline_view_help_overlay.html ('k') | tracing/tracing/ui/timeline_viewport.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/timeline_view_test.html
diff --git a/tracing/tracing/ui/timeline_view_test.html b/tracing/tracing/ui/timeline_view_test.html
index 8dfb76f69e662df1bc5ec361ded4bd0d4290ea14..d2d1962d1d199edb33f3552fa20a9abd2f5a6b80 100644
--- a/tracing/tracing/ui/timeline_view_test.html
+++ b/tracing/tracing/ui/timeline_view_test.html
@@ -93,8 +93,8 @@ tr.b.unittest.testSuite(function() {
};
var modelsEquivalent = function(lhs, rhs) {
- if (lhs.length !== rhs.length)
- return false;
+ if (lhs.length !== rhs.length) return false;
+
return lhs.every(function(lhsItem, index) {
var rhsItem = rhs[index];
return rhsItem.regexpText === lhsItem.regexpText &&
« no previous file with comments | « tracing/tracing/ui/timeline_view_help_overlay.html ('k') | tracing/tracing/ui/timeline_viewport.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698