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/extras/tquery/filter.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.html
diff --git a/tracing/tracing/extras/tquery/filter.html b/tracing/tracing/extras/tquery/filter.html
index 1b3cf6a1be1c0cc67be24167bd2156ce24d38035..f005a2eaa608f5d2b77bb2d7009e99a64b3556f2 100644
--- a/tracing/tracing/extras/tquery/filter.html
+++ b/tracing/tracing/extras/tquery/filter.html
@@ -35,10 +35,11 @@ tr.exportTo('tr.e.tquery', function() {
},
matchValue_: function(value, expected) {
- if (expected instanceof RegExp)
+ if (expected instanceof RegExp) {
return expected.test(value);
- else if (expected instanceof Function)
+ } else if (expected instanceof Function) {
return expected(value);
+ }
return value === expected;
}
};
« no previous file with comments | « tracing/tracing/extras/system_stats/system_stats_snapshot.html ('k') | tracing/tracing/extras/tquery/filter_all_of.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698