small comment for geo stuff

Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/cdd4ba8b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/cdd4ba8b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/cdd4ba8b

Branch: refs/heads/master
Commit: cdd4ba8bebdb6121fbf19c1e5a5639bea262a81e
Parents: 95b11dd
Author: Fil Maj <maj....@gmail.com>
Authored: Wed Mar 28 13:41:41 2012 -0700
Committer: Fil Maj <maj....@gmail.com>
Committed: Mon May 7 13:51:05 2012 -0700

----------------------------------------------------------------------
 lib/common/plugin/geolocation.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/cdd4ba8b/lib/common/plugin/geolocation.js
----------------------------------------------------------------------
diff --git a/lib/common/plugin/geolocation.js b/lib/common/plugin/geolocation.js
index 55159f2..1bee4f7 100644
--- a/lib/common/plugin/geolocation.js
+++ b/lib/common/plugin/geolocation.js
@@ -140,6 +140,7 @@ var geolocation = {
 
         var id = utils.createUUID();
 
+        // Tell device to get a position ASAP, and also retrieve a reference 
to the timeout timer generated in getCurrentPosition
         timers[id] = geolocation.getCurrentPosition(successCallback, 
errorCallback, options);
 
         var fail = function(e) {

Reply via email to