Skip to content

Commit

Permalink
template literal
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Nov 13, 2017
1 parent fda0655 commit c99b08c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core_plugins/timelion/server/series_functions/fit.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default new Chainable('fit', {
{
name: 'mode',
types: ['string'],
help: 'The algorithm to use for fitting the series to the target. One of: ' + _.keys(fitFunctions).join(', '),
help: `The algorithm to use for fitting the series to the target. One of: ${_.keys(fitFunctions).join(', ')}`,
suggestions: _.keys(fitFunctions).map(key => {
return { name: key };
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default new Chainable('trend', {
{
name: 'mode',
types: ['string'],
help: 'The algorithm to use for generating the trend line. One of: ' + _.keys(validRegressions).join(', '),
help: `The algorithm to use for generating the trend line. One of: ${_.keys(validRegressions).join(', ')}`,
suggestions: _.keys(validRegressions).map(key => {
return { name: key, help: validRegressions[key] };
})
Expand Down
2 changes: 1 addition & 1 deletion src/core_plugins/timelion/server/series_functions/yaxis.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default new Chainable('yaxis', {
{
name: 'units',
types: ['string', 'null'],
help: 'The function to use for formatting y-axis labels. One of: ' + _.values(tickFormatters).join(', '),
help: `The function to use for formatting y-axis labels. One of: ${_.values(tickFormatters).join(', ')}`,
suggestions: _.keys(tickFormatters).map(key => {
return { name: key, help: tickFormatters[key] };
})
Expand Down

0 comments on commit c99b08c

Please sign in to comment.