[OpenLayers-Commits] r7525 - sandbox/topp/almanac/lib/OpenLayers/Control

commits at openlayers.org commits at openlayers.org
Wed Jul 16 11:35:36 EDT 2008


Author: sbenthall
Date: 2008-07-16 11:35:36 -0400 (Wed, 16 Jul 2008)
New Revision: 7525

Modified:
   sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js
Log:
shorter property names are nicer

Modified: sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js
===================================================================
--- sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js	2008-07-16 14:23:32 UTC (rev 7524)
+++ sandbox/topp/almanac/lib/OpenLayers/Control/YahooGeocoder.js	2008-07-16 15:35:36 UTC (rev 7525)
@@ -8,7 +8,7 @@
      * Property: yahooUrl
      * The URL of Yahoo's geocoding service
      */
-    yahooUrl : "http://local.yahooapis.com/MapsService/V1/geocode",
+    url : "http://local.yahooapis.com/MapsService/V1/geocode",
 
     /**
      * Property: appid
@@ -115,7 +115,7 @@
         };
 
         this.request = OpenLayers.Request.GET({
-            url: this.yahooUrl,
+            url: this.url,
             callback: requestCallback,
             params: params,
             scope: this



More information about the Commits mailing list