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

Unified Diff: tracing/tracing/extras/tquery/filter_not.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/extras/tquery/filter_is_top_level.html ('k') | tracing/tracing/extras/tquery/tquery.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/tquery/filter_not.html
diff --git a/tracing/tracing/extras/tquery/filter_not.html b/tracing/tracing/extras/tquery/filter_not.html
index 18e85db8ce1c2ecd13b8f8c442ddc43d481799b5..0b6f7d72dccf34de91c5de361da7ebbda98b61ea 100644
--- a/tracing/tracing/extras/tquery/filter_not.html
+++ b/tracing/tracing/extras/tquery/filter_not.html
@@ -35,8 +35,9 @@ tr.exportTo('tr.e.tquery', function() {
tr.c.ScriptingObjectRegistry.register(
function() {
var exprs = Array.prototype.slice.call(arguments);
- if (exprs.length !== 1)
+ if (exprs.length !== 1) {
throw new Error('not() must have exactly one subexpression');
+ }
return new FilterNot(exprs[0]);
},
{
« no previous file with comments | « tracing/tracing/extras/tquery/filter_is_top_level.html ('k') | tracing/tracing/extras/tquery/tquery.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698