Skip to content

Commit 317938f

Browse files
committed
lint
1 parent 9e83747 commit 317938f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/transforms/aggregate.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ var attrs = exports.attributes = {
3838
'Data points with matching group values will be coalesced into',
3939
'one point, using the supplied aggregation functions to reduce data',
4040
'in other data arrays.',
41-
'If a string, *groups* is assumed to be a reference to a data array',
41+
'If a string, `groups` is assumed to be a reference to a data array',
4242
'in the parent trace object.',
4343
'To aggregate by nested variables, use *.* to access them.',
4444
'For example, set `groups` to *marker.color* to aggregate',
4545
'about the marker color array.',
46-
'If an array, *groups* is itself the data array by which we aggregate.'
46+
'If an array, `groups` is itself the data array by which we aggregate.'
4747
].join(' ')
4848
},
4949
aggregations: {
@@ -55,7 +55,7 @@ var attrs = exports.attributes = {
5555
'A reference to the data array in the parent trace to aggregate.',
5656
'To aggregate by nested variables, use *.* to access them.',
5757
'For example, set `groups` to *marker.color* to aggregate',
58-
'about the marker color array.',
58+
'over the marker color array.',
5959
'The referenced array must already exist, unless `func` is *count*,',
6060
'and each array may only be referenced once.'
6161
].join(' ')

src/transforms/filter.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ exports.attributes = {
3737
description: [
3838
'Sets the filter target by which the filter is applied.',
3939

40-
'If a string, *target* is assumed to be a reference to a data array',
40+
'If a string, `target` is assumed to be a reference to a data array',
4141
'in the parent trace object.',
4242
'To filter about nested variables, use *.* to access them.',
4343
'For example, set `target` to *marker.color* to filter',
4444
'about the marker color array.',
4545

46-
'If an array, *target* is then the data array by which the filter is applied.'
46+
'If an array, `target` is then the data array by which the filter is applied.'
4747
].join(' ')
4848
},
4949
operation: {
@@ -83,23 +83,23 @@ exports.attributes = {
8383
valType: 'any',
8484
dflt: 0,
8585
description: [
86-
'Sets the value or values by which to filter by.',
86+
'Sets the value or values by which to filter.',
8787

8888
'Values are expected to be in the same type as the data linked',
89-
'to *target*.',
89+
'to `target`.',
9090

9191
'When `operation` is set to one of',
9292
'the comparison values (' + COMPARISON_OPS + ')',
93-
'*value* is expected to be a number or a string.',
93+
'`value` is expected to be a number or a string.',
9494

9595
'When `operation` is set to one of the interval values',
9696
'(' + INTERVAL_OPS + ')',
97-
'*value* is expected to be 2-item array where the first item',
97+
'`value` is expected to be 2-item array where the first item',
9898
'is the lower bound and the second item is the upper bound.',
9999

100100
'When `operation`, is set to one of the set values',
101101
'(' + SET_OPS + ')',
102-
'*value* is expected to be an array with as many items as',
102+
'`value` is expected to be an array with as many items as',
103103
'the desired set elements.'
104104
].join(' ')
105105
},

0 commit comments

Comments
 (0)