Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
This commit is contained in:
@@ -5,7 +5,7 @@ describe('ol.source.CartoDB', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
it('returns a CartoDB source', function() {
|
||||
var source = new CartoDB({
|
||||
const source = new CartoDB({
|
||||
account: 'documentation',
|
||||
config: {}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user