Fix eslint errors

This commit is contained in:
Frederic Junod
2017-12-04 10:06:00 +01:00
parent 9c8c9c1a17
commit 14e3fd9214
2 changed files with 5 additions and 5 deletions

View File

@@ -267,7 +267,7 @@ describe('ol.source.WMTS', function() {
'http://2.example.com/{TileMatrix}/{TileRow}/{TileCol}.jpeg'
],
tileGrid: new ol.tilegrid.WMTS({
matrixIds: [0,1,2,3,4,5,6,7],
matrixIds: [0, 1, 2, 3, 4, 5, 6, 7],
origin: [2690000, 1285000],
resolutions: [4000, 3750, 3500, 3250, 3000, 2750, 2500, 2250]
})
@@ -278,7 +278,7 @@ describe('ol.source.WMTS', function() {
'https://b.example.com/{TileMatrix}/{TileRow}/{TileCol}.jpg'
];
source.setUrls(urls);
var tileUrl1 = source.tileUrlFunction([2,9,4],1,projection);
var tileUrl1 = source.tileUrlFunction([2, 9, 4], 1, projection);
expect(tileUrl1).to.match(/https\:\/\/[ab]\.example\.com\/2\/-5\/9\.jpg/);
});
});