locbet / jquery-numberformatter

Automatically exported from code.google.com/p/jquery-numberformatter
0 stars 0 forks source link

Wrong loop, function init() #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
  1. Use IE6
  2. As JScript does not have Array's indexOf, define it into Array.prototype
  3. The loop in function init() while be wrong, since it will include indexOf

What version of the product are you using? On what operating system?
  1.2-RELEASE

Please provide any additional information below.
  Instead of a for/in loop on nfAllLocales, use plain old for(;;) loop, as it will not include user defined prototype attribute (in this case Array.prototype.indexOf)

Original issue reported on code.google.com by olivierg...@gmail.com on 14 Oct 2010 at 1:33

GoogleCodeExporter commented 8 years ago
Thanks for pointing this out, will be fixed in next version.

Original comment by apar...@gmail.com on 13 Apr 2011 at 9:50

GoogleCodeExporter commented 8 years ago
Updated code now in repo, will be part of the next official release (this week).

Original comment by apar...@gmail.com on 13 Apr 2011 at 2:27