[OpenLayers-Commits] r2332 - sandbox/vector-2.4/lib/OpenLayers/Geometry
commits at openlayers.org
commits at openlayers.org
Mon Mar 5 14:13:36 EST 2007
Author: euzuro
Date: 2007-03-05 14:13:35 -0500 (Mon, 05 Mar 2007)
New Revision: 2332
Modified:
sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js
Log:
finish updating Point.js coding standards (part of this got stuck in the previous patch)
Modified: sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js
===================================================================
--- sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js 2007-03-05 19:13:06 UTC (rev 2331)
+++ sandbox/vector-2.4/lib/OpenLayers/Geometry/Point.js 2007-03-05 19:13:35 UTC (rev 2332)
@@ -69,14 +69,14 @@
},
/**
- * @returns float
+ * @type float
*/
getX: function() {
return this.lon;
},
/**
- * @returns float
+ * @type float
*/
getY: function() {
return this.lat;
@@ -84,6 +84,7 @@
/**
* @returns the coordinates as a string
+ * @type String
*/
toString: function() {
return this.x + "," + this.y;
More information about the Commits
mailing list