Skip to content

Commit f9d4b03

Browse files
Removed axis pairs and lambda-style function
These axis pairs would only be used in esoteric situations and this makes the tests a bit faster. Not sure if lambda-style functions are supported so we'll just use inline functions.
1 parent 9249684 commit f9d4b03

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/jasmine/assets/domain_ref/components.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ function coordsEq(a, b) {
410410

411411
function compareBBoxes(a, b) {
412412
return ['x', 'y', 'width', 'height'].map(
413-
(k, ) => coordsEq(a[k], b[k])).reduce(
414-
(l, r) => l && r,
413+
function (k) { return coordsEq(a[k], b[k]); }).reduce(
414+
function (l, r) { return l && r; },
415415
true);
416416
}
417417

@@ -537,8 +537,6 @@ var axisTypes = ['linear', 'log'];
537537
// suffice.
538538
var axisPairs = [
539539
['x', 'y'],
540-
['x2', 'y'],
541-
['x', 'y2'],
542540
['x2', 'y2']
543541
];
544542
// For annotations: if arrow coordinate is in the same coordinate system 's', if

0 commit comments

Comments
 (0)