Changeset 3181 for branches/openlayers/2.4
- Timestamp:
- 05/25/07 08:45:57 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/2.4/lib/OpenLayers/Renderer/SVG.js
r3177 r3181 51 51 supported: function() { 52 52 var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG"; 53 var supported = (document.implementation.hasFeature("org.w3c.svg", "1.0") || document.implementation.hasFeature(svgFeature, "1.1")); 53 var supported = (document.implementation && 54 (document.implementation.hasFeature("org.w3c.svg", "1.0") || 55 document.implementation.hasFeature(svgFeature, "1.1"))); 54 56 return supported; 55 57 },
