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:
@@ -6,7 +6,7 @@ describe('ol.source.Stamen', function() {
|
||||
describe('constructor', function() {
|
||||
|
||||
it('can be constructed with a custom minZoom', function() {
|
||||
var source = new Stamen({
|
||||
const source = new Stamen({
|
||||
layer: 'watercolor',
|
||||
minZoom: 10
|
||||
});
|
||||
@@ -14,7 +14,7 @@ describe('ol.source.Stamen', function() {
|
||||
});
|
||||
|
||||
it('can be constructed with a custom maxZoom', function() {
|
||||
var source = new Stamen({
|
||||
const source = new Stamen({
|
||||
layer: 'watercolor',
|
||||
maxZoom: 8
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user