Prevent i from being declared global in extractRange (issue 627)

pull/1/head
David Schnur 14 years ago
parent be0799cfbe
commit 0258271d7c

@ -50,6 +50,8 @@ Bug fixes
(reported by Ara Anjargolian).
- Fix bug with formats in the data processor (reported by Peter Hull,
issue 534).
- Prevent i from being declared global in extractRange (reported by
Alexander Obukhov, issue 627).
Flot 0.7

@ -1483,7 +1483,7 @@
function extractRange(ranges, coord) {
var axis, from, to, key, axes = allAxes();
for (i = 0; i < axes.length; ++i) {
for (var i = 0; i < axes.length; ++i) {
axis = axes[i];
if (axis.direction == coord) {
key = coord + axis.n + "axis";

Loading…
Cancel
Save