[OpenLayers-Trac] Re: [OpenLayers] #3474: ArcGISCache resolutions
get compromised by some JS frameworks.
OpenLayers
trac-20090302 at openlayers.org
Wed Aug 24 08:16:21 EDT 2011
#3474: ArcGISCache resolutions get compromised by some JS frameworks.
--------------------------------+-------------------------------------------
Reporter: dzwarg | Owner: dzwarg
Type: bug | Status: reopened
Priority: major | Milestone: 2.11 Release
Component: Layer.ArcGISCache | Version: SVN
Resolution: | Keywords:
State: Pullup |
--------------------------------+-------------------------------------------
Comment(by dzwarg):
Replying to [comment:2 bartvde]:
> Hi David, thanks for your patch. I've made a minor change to the code
and the test case, basically the way to prevent this is to use
hasOwnProperty, see also answer 3 in:
http://stackoverflow.com/questions/1626530/wrapping-for-in-loops-with-if-
statements-in-javascript-looping-over-arrays
>
> Further than that, this looks good to go. Thanks again.
Thank you, Bart!
--
Ticket URL: <http://trac.openlayers.org/ticket/3474#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list