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

Unified Diff: tracing/tracing/extras/tquery/filter_any_of.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
Index: tracing/tracing/extras/tquery/filter_any_of.html
diff --git a/tracing/tracing/extras/tquery/filter_any_of.html b/tracing/tracing/extras/tquery/filter_any_of.html
index 6a7d4696b7eb7943ecfc7477dcdb849bc78f846e..b72779af064e8516351e95a05eed75a06236eadb 100644
--- a/tracing/tracing/extras/tquery/filter_any_of.html
+++ b/tracing/tracing/extras/tquery/filter_any_of.html
@@ -34,11 +34,9 @@ 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))
- return true;
+ if (this.subExpressions[i].evaluate(context)) return true;
}
return false;
}
« no previous file with comments | « tracing/tracing/extras/tquery/filter_all_of.html ('k') | tracing/tracing/extras/tquery/filter_has_ancestor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698