From a04d954dfb12cb841613aad74d4ed6eb18d4a8fe Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Mon, 29 Aug 2011 12:48:35 -0400 Subject: [PATCH] fixing typo --- web-world/js-impl.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web-world/js-impl.js b/web-world/js-impl.js index 9acc7fa..c9960f0 100644 --- a/web-world/js-impl.js +++ b/web-world/js-impl.js @@ -747,8 +747,7 @@ LocationEventSource.prototype.onStart = function(fireEvent) { var success = function(position) { fireEvent(undefined, - objectToEvent({ latitude : plt.baselib.numbers.makeFloat(position.coords.latitude), - longitude: plt.baselib.numbers.makeFloat(position.coords.longitude) })); + objectToEvent(position.coords)); }; var fail = function(err) { // Quiet failure