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

Unified Diff: tracing/tracing/extras/tquery/filter_all_of.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test 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
Index: tracing/tracing/extras/tquery/filter_all_of.html
diff --git a/tracing/tracing/extras/tquery/filter_all_of.html b/tracing/tracing/extras/tquery/filter_all_of.html
index 462b1d1c0f107b8391452dae1ec92221bf2532f8..82ff5b3e4238e28b5c2290b862daa7ba50c5e13a 100644
--- a/tracing/tracing/extras/tquery/filter_all_of.html
+++ b/tracing/tracing/extras/tquery/filter_all_of.html
@@ -33,11 +33,11 @@ tr.exportTo('tr.e.tquery', function() {
},
evaluate: function(context) {
- if (!this.subExpressions.length)
- return true;
+ if (!this.subExpressions.length) return true;
for (var i = 0; i < this.subExpressions.length; i++) {
- if (!this.subExpressions[i].evaluate(context))
+ if (!this.subExpressions[i].evaluate(context)) {
return false;
+ }
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698