Enforces spacing around commas

This commit is contained in:
Frederic Junod
2016-12-14 13:42:47 +01:00
parent b1f25d484b
commit 392cbcc138
15 changed files with 46 additions and 46 deletions
+4 -4
View File
@@ -1175,9 +1175,9 @@ describe('ol.format.KML', function() {
it('can write GeometryCollection geometries', function() {
var collection = new ol.geom.GeometryCollection([
new ol.geom.Point([1,2]),
new ol.geom.LineString([[1,2],[3,4]]),
new ol.geom.Polygon([[[1,2],[3,4],[3,2],[1,2]]])
new ol.geom.Point([1, 2]),
new ol.geom.LineString([[1, 2], [3, 4]]),
new ol.geom.Polygon([[[1, 2], [3, 4], [3, 2], [1, 2]]])
]);
var features = [new ol.Feature(collection)];
var node = format.writeFeaturesNode(features);
@@ -3255,7 +3255,7 @@ describe('ol.format.KML', function() {
expect(nl[0].maxLodPixels).to.be(-1);
expect(nl[0].minFadeExtent).to.be(0);
expect(nl[0].maxFadeExtent).to.be(0);
expect(nl[1].extent).to.eql([0,0,180,90]);
expect(nl[1].extent).to.eql([0, 0, 180, 90]);
});
});
});