@@ -143,7 +143,7 @@ function drawTimeseries(data, options) {
143
143
. then ( flagSeries => series . push ( flagSeries ) )
144
144
// If the getFlagSeries request fails (503), catch so we can still draw the chart
145
145
. catch ( console . error )
146
- . then ( _ => {
146
+ . then ( ( ) => {
147
147
const chart = document . getElementById ( options . chartId ) ;
148
148
callOnceWhenVisible ( chart , ( ) => drawChart ( options , series ) ) ;
149
149
} ) ;
@@ -177,7 +177,7 @@ function drawTimeseriesTable(data, options, [start, end]=[-Infinity, Infinity])
177
177
if ( ! options . timeseries || ! options . timeseries . fields ) {
178
178
const trMeta = el ( 'tr' ) ;
179
179
trMeta . classList . add ( 'meta-row' ) ;
180
- DEFAULT_COLS . map ( col => {
180
+ DEFAULT_COLS . map ( ( ) => {
181
181
return el ( 'td' ) ;
182
182
} ) . forEach ( td => trMeta . appendChild ( td ) ) ;
183
183
const th = el ( 'th' ) ;
@@ -212,7 +212,7 @@ function drawTimeseriesTable(data, options, [start, end]=[-Infinity, Infinity])
212
212
213
213
const isDesktop = o => o . client == 'desktop' ;
214
214
const isMobile = o => o . client == 'mobile' ;
215
- const toNumeric = ( { client, date , ...other } ) => {
215
+ const toNumeric = ( { client, ...other } ) => {
216
216
return Object . entries ( other ) . reduce ( ( o , [ k , v ] ) => {
217
217
o [ k ] = + v ;
218
218
return o ;
@@ -452,7 +452,7 @@ const zip = data => {
452
452
let row = dates [ o . timestamp ] ;
453
453
if ( row ) {
454
454
row . push ( o ) ;
455
- row . sort ( ( a , b ) => a . client == 'desktop' ? - 1 : 1 )
455
+ row . sort ( ( a ) => a . client == 'desktop' ? - 1 : 1 )
456
456
return ;
457
457
}
458
458
dates [ o . timestamp ] = [ o ] ;
0 commit comments