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

View File

@@ -246,7 +246,7 @@ describe('ol.render.canvas.Immediate', function() {
[-80.899323, 29.061249000000004, 0], // lineTo()
[-80.862663, 28.991361999999995, 0], // lineTo()
[-80.736061, 28.788576000000006, 0] // closePath()
]],[[
]], [[
// second polygon
[-82.102127, 26.585724, 0], // moveTo()
[-82.067139, 26.497208, 0], // lineTo()

View File

@@ -49,7 +49,7 @@ describe('ol.render.webgl.CircleReplay', function() {
describe('#drawCircle', function() {
it('sets the buffer data', function() {
var circle = new ol.geom.Circle([0,0], 5000);
var circle = new ol.geom.Circle([0, 0], 5000);
replay.setFillStrokeStyle(fillStyle, strokeStyle);
replay.drawCircle(circle, null);
@@ -62,7 +62,7 @@ describe('ol.render.webgl.CircleReplay', function() {
});
it('does not draw if radius is zero', function() {
var circle = new ol.geom.Circle([0,0], 0);
var circle = new ol.geom.Circle([0, 0], 0);
replay.drawCircle(circle, null);
expect(replay.vertices).to.have.length(0);
@@ -72,7 +72,7 @@ describe('ol.render.webgl.CircleReplay', function() {
});
it('resets state and removes style if it belongs to a zero radius circle', function() {
var circle = new ol.geom.Circle([0,0], 0);
var circle = new ol.geom.Circle([0, 0], 0);
replay.setFillStrokeStyle(fillStyle, strokeStyle);
replay.setFillStrokeStyle(null, strokeStyle);