[Pkg-javascript-commits] [leaflet-markercluster] 50/219: fixed whitespace issues

Jonas Smedegaard dr at jones.dk
Sat May 7 09:39:10 UTC 2016


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

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

commit 50f0a553b9a37017f3bfcaedf7fcc6ceb6d58dd2
Author: Ryan "rman" Denniston <r.denniston at gmail.com>
Date:   Sat Nov 1 11:23:15 2014 -1000

    fixed whitespace issues
---
 src/MarkerClusterGroup.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index 58794c3..04d7f1c 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -655,11 +655,11 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 
 	_zoomOrSpiderfy: function (e) {
 		var map = this._map;
-		if (e.layer._bounds._northEast.equals(e.layer._bounds._southWest)){
+		if ( e.layer._bounds._northEast.equals(e.layer._bounds._southWest)) {
 			if (this.options.spiderfyOnMaxZoom) {
 				e.layer.spiderfy();
 			}
-		}else if (map.getMaxZoom() === map.getZoom()) {
+		} else if (map.getMaxZoom() === map.getZoom()) {
 			if (this.options.spiderfyOnMaxZoom) {
 				e.layer.spiderfy();
 			}

-- 
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