Declare constants with const keyword

This commit is contained in:
Daniel García Aubert 2017-09-15 10:49:20 +02:00
parent 68dfed8b85
commit ecbc7a28e7

View File

@ -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';
/**
{