chore(package): update eslint to version 3.9.1

https://greenkeeper.io/
This commit is contained in:
greenkeeperio-bot
2016-10-31 13:33:11 -06:00
committed by Frederic Junod
parent 5f5bc2ecdb
commit 71ebed07bf
13 changed files with 160 additions and 140 deletions

View File

@@ -105,8 +105,10 @@ describe('ol.array', function() {
);
describe('default comparison on array of Number(s)', function() {
var d = [-897123.9, -321434.58758, -1321.3124, -324, -9, -3, 0, 0, 0,
0.31255, 5, 142.88888708, 334, 342, 453, 54254];
var d = [
-897123.9, -321434.58758, -1321.3124, -324, -9, -3, 0, 0, 0,
0.31255, 5, 142.88888708, 334, 342, 453, 54254
];
it('should find -897123.9 at index 0', function() {
expect(ol.array.binarySearch(d, -897123.9)).to.be(0);
});
@@ -150,8 +152,10 @@ describe('ol.array', function() {
describe('custom comparison function, which reverse orders numbers',
function() {
var e = [54254, 453, 342, 334, 142.88888708, 5, 0.31255, 0, 0, 0, -3,
-9, -324, -1321.3124, -321434.58758, -897123.9];
var e = [
54254, 453, 342, 334, 142.88888708, 5, 0.31255, 0, 0, 0, -3,
-9, -324, -1321.3124, -321434.58758, -897123.9
];
it('should find 54254 at index 0', function() {
var pos = ol.array.binarySearch(e, 54254, revNumCompare);
expect(pos).to.be(0);