[gnome-maps/wip/osrm-routing: 19/21] AMEND cleanup
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-maps/wip/osrm-routing: 19/21] AMEND cleanup
- Date: Tue, 23 Jul 2013 15:04:51 +0000 (UTC)
commit b9f6f2a7ac5ce8760ddcda17d4579bc78cb4bdf9
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]