Skip to content

Commit 219eb08

Browse files
committed
lint (match variable name across axes.js methods)
1 parent d60e84d commit 219eb08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plots/cartesian/axes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,14 +1472,14 @@ axes.findSubplotsWithAxis = function(subplots, ax) {
14721472
var axMatch = new RegExp(
14731473
(ax._id.charAt(0) === 'x') ? ('^' + ax._id + 'y') : (ax._id + '$')
14741474
);
1475-
var subplotsWithAxis = [];
1475+
var subplotsWithAx = [];
14761476

14771477
for(var i = 0; i < subplots.length; i++) {
14781478
var sp = subplots[i];
1479-
if(axMatch.test(sp)) subplotsWithAxis.push(sp);
1479+
if(axMatch.test(sp)) subplotsWithAx.push(sp);
14801480
}
14811481

1482-
return subplotsWithAxis;
1482+
return subplotsWithAx;
14831483
};
14841484

14851485
// makeClipPaths: prepare clipPaths for all single axes and all possible xy pairings

0 commit comments

Comments
 (0)