[gnome-maps] mapView: fix undeclared variable warnings



commit 005c1ddabd4736ba96643cb124a0206dfd03162b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Apr 2 10:57:10 2013 -0400

    mapView: fix undeclared variable warnings

 src/mapView.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 0ef9184..2c8cd72 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -55,7 +55,7 @@ const MapView = new Lang.Class({
         forward.search_async (null, Lang.bind(this,
             function(forward, res) {
                 try {
-                    locations = forward.search_finish(res);
+                    let locations = forward.search_finish(res);
                     log (locations.length + " locations found");
                     this._showLocations(locations);
                 } catch (e) {


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