[gnome-maps] PlaceStore: add missing let



commit f96c8d0aae64bbc5d2a6f3746c0cba1ca7b2c08d
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Thu Nov 13 08:52:53 2014 +0100

    PlaceStore: add missing let

 src/placeStore.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/placeStore.js b/src/placeStore.js
index 8352820..0d0d8d5 100644
--- a/src/placeStore.js
+++ b/src/placeStore.js
@@ -244,7 +244,7 @@ const PlaceStore = new Lang.Class({
             let p = model.get_value(iter, Columns.PLACE);
 
             if (p.osm_id === place.osm_id) {
-                type = model.get_value(iter, Columns.TYPE);
+                let type = model.get_value(iter, Columns.TYPE);
                 this._setPlace(iter, place, type, new Date().getTime());
                 this._store();
                 return;


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