[gnome-maps/wip/osrm-routing] AMEND cleanup



commit 7549962f1f6774622513590ed0c58c81ba17cfce
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Fri Jul 19 15:10:33 2013 +0200

    AMEND cleanup

 src/mapView.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 6c9e144..e9c4597 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -97,8 +97,8 @@ const MapView = new Lang.Class({
         this._sidebar.actor.hide();
         this._sidebar.conceal();
     },
-    
-    _route_request: function(toLocation) {
+
+    _routeRequest: function(toLocation) {
         let fromLocation = this._userLocation;
         let router = new osrm.Router();
 
@@ -171,7 +171,7 @@ const MapView = new Lang.Class({
 
                             let mapLocation = new MapLocation.MapLocation(location, this);
                             mapLocation.connect("route-request",
-                                                Lang.bind(this, this._route_request));
+                                                Lang.bind(this, this._routeRequest));
                             mapLocations.push(mapLocation);
                         }));
                     this._showLocations(mapLocations);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]