Declare constants with const keyword
This commit is contained in:
parent
68dfed8b85
commit
ecbc7a28e7
@ -30,7 +30,7 @@ const formulaQueryTpl = ctx => `
|
||||
${ctx._isFloatColumn && ctx._operation !== 'count' ? `${filterOutSpecialNumericValuesTpl(ctx)}` : ''}
|
||||
`;
|
||||
|
||||
var VALID_OPERATIONS = {
|
||||
const VALID_OPERATIONS = {
|
||||
count: true,
|
||||
avg: true,
|
||||
sum: true,
|
||||
@ -38,7 +38,7 @@ var VALID_OPERATIONS = {
|
||||
max: true
|
||||
};
|
||||
|
||||
var TYPE = 'formula';
|
||||
const TYPE = 'formula';
|
||||
|
||||
/**
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user