Merge pull request #5019 from openlayers/greenkeeper-eslint-2.4.0

Update eslint to version 2.4.0 🚀
This commit is contained in:
Andreas Hocevar
2016-03-12 16:36:52 +01:00
2 changed files with 7 additions and 7 deletions

View File

@@ -54,7 +54,7 @@
"clean-css": "3.4.10",
"coveralls": "2.11.8",
"debounce": "^1.0.0",
"eslint": "2.3.0",
"eslint": "2.4.0",
"eslint-config-openlayers": "4.1.0",
"expect.js": "0.3.1",
"gaze": "^0.5.1",

View File

@@ -19,12 +19,12 @@ describe('ol.geom.flat.center', function() {
it('calculates the centers of two squares', function() {
var squareMultiPoly = new ol.geom.MultiPolygon([
[
[[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]
],
[
[[3, 0], [3, 1], [4, 1], [4, 0], [3, 0]]
]
[
[[0, 0], [0, 1], [1, 1], [1, 0], [0, 0]]
],
[
[[3, 0], [3, 1], [4, 1], [4, 0], [3, 0]]
]
]);
var got = ol.geom.flat.center.linearRingss(
squareMultiPoly.flatCoordinates,