Update class creation on Format.XML. Thanks, fredj. (Closes #823)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4255 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-09-13 10:26:51 +00:00
parent e0ec60a410
commit 74b66a29d3

View File

@@ -15,9 +15,7 @@
* Inherits from:
* - <OpenLayers.Format>
*/
OpenLayers.Format.XML = OpenLayers.Class.create();
OpenLayers.Format.XML.prototype =
OpenLayers.Class.inherit(OpenLayers.Format, {
OpenLayers.Format.XML = OpenLayers.Class(OpenLayers.Format, {
/**
* Property: xmldom