[OpenLayers-Commits] r3181 - branches/openlayers/2.4/lib/OpenLayers/Renderer
commits at openlayers.org
commits at openlayers.org
Fri May 25 08:46:04 EDT 2007
Author: crschmidt
Date: 2007-05-25 08:45:57 -0400 (Fri, 25 May 2007)
New Revision: 3181
Modified:
branches/openlayers/2.4/lib/OpenLayers/Renderer/SVG.js
Log:
Pullup #722 from trunk for RC5.
svn merge 3177:HEAD.
Modified: branches/openlayers/2.4/lib/OpenLayers/Renderer/SVG.js
===================================================================
--- branches/openlayers/2.4/lib/OpenLayers/Renderer/SVG.js 2007-05-25 10:49:57 UTC (rev 3180)
+++ branches/openlayers/2.4/lib/OpenLayers/Renderer/SVG.js 2007-05-25 12:45:57 UTC (rev 3181)
@@ -50,7 +50,9 @@
*/
supported: function() {
var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG";
- var supported = (document.implementation.hasFeature("org.w3c.svg", "1.0") || document.implementation.hasFeature(svgFeature, "1.1"));
+ var supported = (document.implementation &&
+ (document.implementation.hasFeature("org.w3c.svg", "1.0") ||
+ document.implementation.hasFeature(svgFeature, "1.1")));
return supported;
},
More information about the Commits
mailing list