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

Unified Diff: tracing/tracing/metrics/compare_samples_cmdline.html

Issue 2432993005: Turn on eslint rule one-var and fix existing errors. (Closed)
Patch Set: Created 4 years, 2 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/importer/v8/splaytree.html ('k') | tracing/tracing/metrics/v8/utils_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/metrics/compare_samples_cmdline.html
diff --git a/tracing/tracing/metrics/compare_samples_cmdline.html b/tracing/tracing/metrics/compare_samples_cmdline.html
index 754267d907820df083217c290fd6e3c5679e23b5..e50ea96ef8439c4eaaf76fe56231f04ab5792a4b 100644
--- a/tracing/tracing/metrics/compare_samples_cmdline.html
+++ b/tracing/tracing/metrics/compare_samples_cmdline.html
@@ -82,7 +82,8 @@ function valuesFromCharts(listOfCharts, metricName) {
}
function rawValuesByMetricName(valueSet, metricName) {
- var interactionRecord, valueName;
+ var interactionRecord;
+ var valueName;
var [itrPlusChart, story] = splitMetric(metricName);
if (itrPlusChart.indexOf('@@') > -1) {
[interactionRecord, valueName] = itrPlusChart.split('@@');
@@ -245,7 +246,8 @@ var SampleComparison = {
};
if (tr.isHeadless) {
- var method, rest;
+ var method;
+ var rest;
[method, ...rest] = sys.argv.slice(1);
if (SampleComparison[method])
console.log(JSON.stringify(SampleComparison[method](...rest)));
« no previous file with comments | « tracing/tracing/extras/importer/v8/splaytree.html ('k') | tracing/tracing/metrics/v8/utils_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698