gauravkumar13337 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Firefox 3.6: i.exec is not a function #627

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is caused because the variable 'i' in extractRange is declared as a global 
variable:

function extractRange(ranges, coord) {
...
  for (i = 0; i < axes.length; ++i) {

could you change to:
  for (var i = 0; i < axes.length; ++i) {

Original issue reported on code.google.com by alexande...@firstlinesoftware.com on 7 Nov 2011 at 1:21

GoogleCodeExporter commented 8 years ago
Fixed in the master branch; Thanks for reporting & tracking this down.

Original comment by dnsch...@gmail.com on 1 May 2012 at 4:32