Skip to content

Commit

Permalink
minor variable cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
msantos committed Dec 24, 2009
1 parent 945321d commit 315cef9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions priv/www/js/wwallo.js
Expand Up @@ -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) {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 315cef9

Please sign in to comment.