Consistent spacing between keys and values in object literal

Related to https://github.com/openlayers/eslint-config-openlayers/pull/9
This commit is contained in:
Frederic Junod
2016-12-14 12:10:16 +01:00
parent 88c417587c
commit 1478cadb18
8 changed files with 37 additions and 37 deletions

View File

@@ -60,7 +60,7 @@ describe('ol.renderer.canvas.Map', function() {
}),
style: new ol.style.Style({
image: new ol.style.Icon({
img : img,
img: img,
imgSize: [1, 1]
})
})
@@ -151,13 +151,13 @@ describe('ol.renderer.canvas.Map', function() {
];
for (var i = 0; i < 4; i++) {
map.forEachFeatureAtPixel(pixelsInside[i], cb1, {hitTolerance:10});
map.forEachFeatureAtPixel(pixelsInside[i], cb1, {hitTolerance: 10});
}
expect(cb1.callCount).to.be(4);
expect(cb1.firstCall.args[1]).to.be(layer);
for (var j = 0; j < 4; j++) {
map.forEachFeatureAtPixel(pixelsOutside[j], cb2, {hitTolerance:10});
map.forEachFeatureAtPixel(pixelsOutside[j], cb2, {hitTolerance: 10});
}
expect(cb2).not.to.be.called();
});