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

Unified Diff: tracing/tracing/ui/extras/deep_reports/scalar_value.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/ui/extras/deep_reports/scalar_value.html
diff --git a/tracing/tracing/ui/extras/deep_reports/scalar_value.html b/tracing/tracing/ui/extras/deep_reports/scalar_value.html
index 79eeff3199581f80f4a527c61eb9655ce0a73edf..cd18e5667590e6710d6817f6c65f2470baffd6f9 100644
--- a/tracing/tracing/ui/extras/deep_reports/scalar_value.html
+++ b/tracing/tracing/ui/extras/deep_reports/scalar_value.html
@@ -22,8 +22,9 @@ tr.exportTo('tr.ui.e.deep_reports', function() {
this.description = opt_description || '';
}
ScalarValue.fromDict = function(page, dict) {
- if (dict.type !== 'scalar')
+ if (dict.type !== 'scalar') {
throw new Error('wat');
+ }
var v = new ScalarValue(page, dict.name, dict.units, dict.value);
v.important = dict.important;
v.description = dict.description;
« no previous file with comments | « tracing/tracing/ui/extras/deep_reports/html_results.html ('k') | tracing/tracing/ui/extras/drive/comments_side_panel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698