[OpenLayers-Commits] r3144 - sandbox/crschmidt/bt-patch/lib/OpenLayers
commits at openlayers.org
commits at openlayers.org
Wed May 9 20:52:44 EDT 2007
Author: crschmidt
Date: 2007-05-09 20:52:43 -0400 (Wed, 09 May 2007)
New Revision: 3144
Modified:
sandbox/crschmidt/bt-patch/lib/OpenLayers/BaseTypes.js
Log:
Attempt to fix Safari 1.3 brokenness.
Modified: sandbox/crschmidt/bt-patch/lib/OpenLayers/BaseTypes.js
===================================================================
--- sandbox/crschmidt/bt-patch/lib/OpenLayers/BaseTypes.js 2007-05-10 00:51:19 UTC (rev 3143)
+++ sandbox/crschmidt/bt-patch/lib/OpenLayers/BaseTypes.js 2007-05-10 00:52:43 UTC (rev 3144)
@@ -32,7 +32,7 @@
//
// to be revisited in 3.0
//
- if (arguments[i].hasOwnProperty('toString')) {
+ if ((arguments[i].hasOwnProperty && arguments[i].hasOwnProperty('toString')) || arguments[i].toString) {
proto.toString = arguments[i].toString;
}
}
More information about the Commits
mailing list