From 315cef964ea0591649b00d8e1bdf956d6bc8c9a4 Mon Sep 17 00:00:00 2001 From: Michael Santos Date: Thu, 24 Dec 2009 18:01:32 -0500 Subject: [PATCH] minor variable cleanup --- priv/www/js/wwallo.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/priv/www/js/wwallo.js b/priv/www/js/wwallo.js index 1773287..4963e77 100644 --- a/priv/www/js/wwallo.js +++ b/priv/www/js/wwallo.js @@ -16,10 +16,10 @@ var wwallo = function() { var country = 'An Unknown Country'; return { - 'city': function (v) { + 'city': function () { return city; }, - 'country': function (v) { + 'country': function () { return country; }, 'error': function (v) { @@ -85,6 +85,7 @@ function get_position() { } var geo = wwallo.geo() || google.gears.factory.create('beta.geolocation'); + wwallo.geo(geo); wwallo.error(undefined); geo.getCurrentPosition(update_position, noposition, { enableHighAccuracy: true,