[OpenLayers-Commits] r2382 - sandbox/vector-2.4/lib/OpenLayers/Feature

commits at openlayers.org commits at openlayers.org
Tue Mar 6 11:00:34 EST 2007


Author: euzuro
Date: 2007-03-06 11:00:32 -0500 (Tue, 06 Mar 2007)
New Revision: 2382

Modified:
   sandbox/vector-2.4/lib/OpenLayers/Feature/Vector.js
Log:
coding standards

Modified: sandbox/vector-2.4/lib/OpenLayers/Feature/Vector.js
===================================================================
--- sandbox/vector-2.4/lib/OpenLayers/Feature/Vector.js	2007-03-06 15:42:16 UTC (rev 2381)
+++ sandbox/vector-2.4/lib/OpenLayers/Feature/Vector.js	2007-03-06 16:00:32 UTC (rev 2382)
@@ -132,7 +132,7 @@
      * @param {OpenLayers.Geometry} geometry to set
      */
     setGeometry: function(geometry) {
-        if(geometry){
+        if(geometry) {
             this.geometry = geometry;
             this.geometry.feature = this;
             this._setGeometryFeatureReference(this.geometry, this);
@@ -172,9 +172,9 @@
      * @returns Whether or not the feature is at the specified location
      * @type Boolean
      */
-    atPoint: function(lonlat, toleranceLon, toleranceLat){
+    atPoint: function(lonlat, toleranceLon, toleranceLat) {
         var atPoint = false;
-        if(this.geometry){
+        if(this.geometry) {
             atPoint = this.geometry.atPoint(lonlat, toleranceLon, 
                                                     toleranceLat);
         }



More information about the Commits mailing list