[gnome-maps/wip/routing2: 9/9] fixup routeService



commit 8feb19a73a75b25fec9ba87ff00cb301babbb154
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Sun May 4 00:44:40 2014 +0200

    fixup routeService

 src/routeService.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/routeService.js b/src/routeService.js
index 42dc53e..1b1c725 100644
--- a/src/routeService.js
+++ b/src/routeService.js
@@ -113,8 +113,8 @@ const GraphHopper = new Lang.Class({
     },
 
     fetchRoute: function(viaPoints, transportationType) {
-        let url = this._buildURL(viaPoints, transportationType),
-            msg = Soup.Message.new('GET', url);
+        let url = this._buildURL(viaPoints, transportationType);
+        let msg = Soup.Message.new('GET', url);
         this._session.queue_message(msg, (function(session, message) {
             try {
                 let result = this._parseMessage(message);


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