Do not use underscore
This commit is contained in:
parent
c0e6bf1299
commit
94a5020faf
@ -1,4 +1,3 @@
|
||||
const _ = require('underscore');
|
||||
const dot = require('dot');
|
||||
const QueryTables = require('cartodb-query-tables');
|
||||
|
||||
@ -72,14 +71,14 @@ module.exports = class MapStoreMapConfigProvider {
|
||||
}
|
||||
|
||||
createKey (base) {
|
||||
const tplValues = _.defaults({}, this.params, {
|
||||
const tplValues = Object.assign({
|
||||
dbname: '',
|
||||
token: '',
|
||||
dbuser: '',
|
||||
format: '',
|
||||
layer: '',
|
||||
scale_factor: 1
|
||||
});
|
||||
}, this.params);
|
||||
|
||||
return (base) ? baseKeyTpl(tplValues) : rendererKeyTpl(tplValues);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user