Use const as of 5cb983c for happy linting
This commit is contained in:
@@ -300,7 +300,7 @@ describe('ol.control.ScaleLine', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('Metric display works with Geographic (EPSG:4326) projection', function() {
|
it('Metric display works with Geographic (EPSG:4326) projection', function() {
|
||||||
var ctrl = new ScaleLine();
|
const ctrl = new ScaleLine();
|
||||||
ctrl.setMap(map);
|
ctrl.setMap(map);
|
||||||
map.setView(new View({
|
map.setView(new View({
|
||||||
center: [0, 0],
|
center: [0, 0],
|
||||||
|
|||||||
Reference in New Issue
Block a user