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.Tile', function() {
|
||||
|
||||
describe('constructor (defaults)', function() {
|
||||
|
||||
var layer;
|
||||
let layer;
|
||||
|
||||
beforeEach(function() {
|
||||
layer = new TileLayer({
|
||||
|
||||
Reference in New Issue
Block a user