[Pkg-javascript-commits] [leaflet-markercluster] 452/479: Remove check for undefined, reverted dist/* changes

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:01:07 UTC 2014


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

js pushed a commit to branch master
in repository leaflet-markercluster.

commit e3dac5cbf32917d837b542dcc28ef85ddf0df004
Author: Adam Bramley <adam at catalyst.net.nz>
Date:   Tue Dec 17 09:13:35 2013 +1300

    Remove check for undefined, reverted dist/* changes
---
 dist/leaflet.markercluster-src.js | 5 -----
 dist/leaflet.markercluster.js     | 2 +-
 src/MarkerClusterGroup.js         | 2 +-
 3 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/dist/leaflet.markercluster-src.js b/dist/leaflet.markercluster-src.js
index 4caaff8..49c67ed 100644
--- a/dist/leaflet.markercluster-src.js
+++ b/dist/leaflet.markercluster-src.js
@@ -604,11 +604,6 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 		} else if (this.options.zoomToBoundsOnClick) {
 			e.layer.zoomToBounds();
 		}
-
-    // Focus the map again for keyboard users.
-		if (typeof e.originalEvent.keyCode !== 'undefined' && e.originalEvent.keyCode === 13) {
-			map._container.focus();
-		}
 	},
 
 	_showCoverage: function (e) {
diff --git a/dist/leaflet.markercluster.js b/dist/leaflet.markercluster.js
index 31f0adf..ad73311 100644
--- a/dist/leaflet.markercluster.js
+++ b/dist/leaflet.markercluster.js
@@ -3,4 +3,4 @@
  https://github.com/Leaflet/Leaflet.markercluster
  (c) 2012-2013, Dave Leaver, smartrak
 */
-!function(t,e){L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureG [...]
\ No newline at end of file
+!function(t,e){L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureG [...]
\ No newline at end of file
diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index b32197e..1fb843e 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -601,7 +601,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 		}
 
     // Focus the map again for keyboard users.
-		if (typeof e.originalEvent.keyCode !== 'undefined' && e.originalEvent.keyCode === 13) {
+		if (e.originalEvent.keyCode === 13) {
 			map._container.focus();
 		}
 	},

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



More information about the Pkg-javascript-commits mailing list