yenbao1340 / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

Use of eval() unnecessary in ExtInfoWindow source. #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
extinfowindow.js, line ~100: 
for (var i in this.wrapperParts ) {
  [...]
   var tempWrapperPart = eval('this.wrapperParts.' + i);

The eval here is quite ugly. Replace with:
var tempWrapperPart = this.wrapperParts[i];

Original issue reported on code.google.com by MBen...@gmail.com on 11 Mar 2009 at 8:23

GoogleCodeExporter commented 8 years ago
This is fixed in the development trunk, but not in release yet. Thanks for the 
report!

Original comment by pamela.fox on 22 Mar 2009 at 7:52