Use 'const' instead of 'var'
This commit is contained in:
parent
cd0be5f79d
commit
d8b0d338c0
@ -1,4 +1,4 @@
|
||||
var MapStoreMapConfigProvider = require('./map-store-provider');
|
||||
const MapStoreMapConfigProvider = require('./map-store-provider');
|
||||
const QueryTables = require('cartodb-query-tables');
|
||||
|
||||
/**
|
||||
@ -34,7 +34,7 @@ CreateLayergroupMapConfigProvider.prototype.getMapConfig = function(callback) {
|
||||
return callback(null, this.mapConfig, this.params, this.context);
|
||||
}
|
||||
|
||||
var context = {};
|
||||
const context = {};
|
||||
|
||||
this.userLimitsBackend.getRenderLimits(this.user, this.params.api_key, (err, renderLimits) => {
|
||||
if (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user