[OpenLayers-Commits] r12198 - trunk/openlayers/lib/OpenLayers/BaseTypes

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Fri Jul 29 05:36:35 EDT 2011


Author: marcjansen
Date: 2011-07-29 02:36:35 -0700 (Fri, 29 Jul 2011)
New Revision: 12198

Modified:
   trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js
   trunk/openlayers/lib/OpenLayers/BaseTypes/LonLat.js
Log:
Correct spelling in documentation. Non functional change.

Modified: trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js	2011-07-29 09:24:07 UTC (rev 12197)
+++ trunk/openlayers/lib/OpenLayers/BaseTypes/Bounds.js	2011-07-29 09:36:35 UTC (rev 12198)
@@ -155,7 +155,7 @@
      * 
      * Returns:
      * {String} Simple String representation of bounds object.
-     *          (ex. <i>"5,42,10,45"</i>)
+     *          (e.g. <i>"5,42,10,45"</i>)
      */
     toBBOX:function(decimal, reverseAxisOrder) {
         if (decimal== null) {
@@ -615,7 +615,7 @@
  *     parameter string
  * 
  * Parameters: 
- * str - {String}Comma-separated bounds string. (ex. <i>"5,42,10,45"</i>)
+ * str - {String}Comma-separated bounds string. (e.g. <i>"5,42,10,45"</i>)
  * reverseAxisOrder - {Boolean} Does the string use reverse axis order?
  * 
  * Returns:
@@ -633,7 +633,7 @@
  *     from an array
  * 
  * Parameters:
- * bbox - {Array(Float)} Array of bounds values (ex. <i>[5,42,10,45]</i>)
+ * bbox - {Array(Float)} Array of bounds values (e.g. <i>[5,42,10,45]</i>)
  * reverseAxisOrder - {Boolean} Does the array use reverse axis order?
  *
  * Returns:

Modified: trunk/openlayers/lib/OpenLayers/BaseTypes/LonLat.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/BaseTypes/LonLat.js	2011-07-29 09:24:07 UTC (rev 12197)
+++ trunk/openlayers/lib/OpenLayers/BaseTypes/LonLat.js	2011-07-29 09:36:35 UTC (rev 12198)
@@ -50,7 +50,7 @@
      *
      * Returns:
      * {String} String representation of OpenLayers.LonLat object. 
-     *           (ex. <i>"lon=5,lat=42"</i>)
+     *           (e.g. <i>"lon=5,lat=42"</i>)
      */
     toString:function() {
         return ("lon=" + this.lon + ",lat=" + this.lat);
@@ -61,7 +61,7 @@
      * 
      * Returns:
      * {String} Shortened String representation of OpenLayers.LonLat object. 
-     *         (ex. <i>"5, 42"</i>)
+     *         (e.g. <i>"5, 42"</i>)
      */
     toShortString:function() {
         return (this.lon + ", " + this.lat);
@@ -180,7 +180,7 @@
  * 
  * Parameters:
  * str - {String} Comma-separated Lon,Lat coordinate string. 
- *                 (ex. <i>"5,40"</i>)
+ *                 (e.g. <i>"5,40"</i>)
  * 
  * Returns:
  * {<OpenLayers.LonLat>} New <OpenLayers.LonLat> object built from the 



More information about the Commits mailing list