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

commits at openlayers.org commits at openlayers.org
Fri Nov 9 13:19:15 EST 2007


Author: tschaub
Date: 2007-11-09 13:19:14 -0500 (Fri, 09 Nov 2007)
New Revision: 5160

Modified:
   trunk/openlayers/lib/OpenLayers/Format/KML.js
Log:
minor space and comment changes only (for KML format)

Modified: trunk/openlayers/lib/OpenLayers/Format/KML.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Format/KML.js	2007-11-09 17:57:27 UTC (rev 5159)
+++ trunk/openlayers/lib/OpenLayers/Format/KML.js	2007-11-09 18:19:14 UTC (rev 5160)
@@ -112,7 +112,7 @@
      *     feature, and calls parseAttributes() to get attribute data out.
      *
      * Parameters:
-     * node - {<DOMElement>}
+     * node - {DOMElement}
      *
      * Returns:
      * {<OpenLayers.Feature.Vector>} A vector feature.
@@ -320,7 +320,7 @@
      * Method: parseAttributes
      *
      * Parameters:
-     * node - {<DOMElement>}
+     * node - {DOMElement}
      *
      * Returns:
      * {Object} An attributes object.
@@ -355,12 +355,12 @@
      * Accept Feature Collection, and return a string. 
      * 
      * Parameters:
-     * features - An array of <OpenLayers.Feature.Vector> features.
+     * features - {Array(<OpenLayers.Feature.Vector>} An array of features.
      *
      * Returns:
      * {String} A KML string.
      */
-     write: function(features) {
+    write: function(features) {
         if(!(features instanceof Array)) {
             features = [features];
         }
@@ -371,7 +371,7 @@
         }
         kml.appendChild(folder);
         return OpenLayers.Format.XML.prototype.write.apply(this, [kml]);
-     },
+    },
 
     /**
      * Method: createFolderXML



More information about the Commits mailing list