[OpenLayers-Trac] Re: [OpenLayers] #3474: ArcGISCache resolutions
get compromised by some JS frameworks.
OpenLayers
trac-20090302 at openlayers.org
Wed Aug 24 02:16:55 EDT 2011
#3474: ArcGISCache resolutions get compromised by some JS frameworks.
-------------------------------+--------------------------------------------
Reporter: dzwarg | Owner: dzwarg
Type: bug | Status: assigned
Priority: major | Milestone: 2.12 Release
Component: Layer.ArcGISCache | Version: SVN
Keywords: | State: Commit
-------------------------------+--------------------------------------------
Changes (by bartvde):
* state: Review => Commit
Comment:
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.
--
Ticket URL: <http://trac.openlayers.org/ticket/3474#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list