[OpenLayers-Commits] r4255 - trunk/openlayers/lib/OpenLayers/Format

commits at openlayers.org commits at openlayers.org
Thu Sep 13 06:26:53 EDT 2007


Author: crschmidt
Date: 2007-09-13 06:26:51 -0400 (Thu, 13 Sep 2007)
New Revision: 4255

Modified:
   trunk/openlayers/lib/OpenLayers/Format/XML.js
Log:
Update class creation on Format.XML. Thanks, fredj. (Closes #823)  


Modified: trunk/openlayers/lib/OpenLayers/Format/XML.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Format/XML.js	2007-09-13 08:43:08 UTC (rev 4254)
+++ trunk/openlayers/lib/OpenLayers/Format/XML.js	2007-09-13 10:26:51 UTC (rev 4255)
@@ -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



More information about the Commits mailing list