[Pkg-javascript-commits] [leaflet] 137/301: add timestamp to geolocation data, #584

Jonas Smedegaard js at moszumanska.debian.org
Mon Jan 27 22:22:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet.

commit a8baeec36767447a1773568388b4e354e7204b02
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Fri Oct 18 18:47:04 2013 +0300

    add timestamp to geolocation data, #584
---
 src/map/ext/Map.Geolocation.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/map/ext/Map.Geolocation.js b/src/map/ext/Map.Geolocation.js
index 5443d57..84f5487 100644
--- a/src/map/ext/Map.Geolocation.js
+++ b/src/map/ext/Map.Geolocation.js
@@ -83,7 +83,8 @@ L.Map.include({
 
 		var data = {
 			latlng: latlng,
-			bounds: bounds
+			bounds: bounds,
+			timestamp: pos.timestamp
 		};
 
 		for (var i in pos.coords) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git



More information about the Pkg-javascript-commits mailing list