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.layer.VectorTile', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
|
||||
var layer;
|
||||
let layer;
|
||||
|
||||
beforeEach(function() {
|
||||
layer = new VectorTileLayer({
|
||||
@@ -38,7 +38,7 @@ describe('ol.layer.VectorTile', function() {
|
||||
|
||||
describe('constructor (options)', function() {
|
||||
it('works with options', function() {
|
||||
var layer = new VectorTileLayer({
|
||||
let layer = new VectorTileLayer({
|
||||
renderMode: 'vector',
|
||||
source: new VectorTileSource({})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user