[gnome-maps] mapView: fix undeclared variable warnings
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapView: fix undeclared variable warnings
- Date: Tue, 2 Apr 2013 15:15:06 +0000 (UTC)
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]