[Pkg-javascript-commits] [leaflet-markercluster] 376/479: More whitespace fixes

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:00:59 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 9d9fde91aad715ba92b5d32e12414c16530f0362
Author: danzel <danzel at localhost.geek.nz>
Date:   Fri Jun 21 15:15:55 2013 +1200

    More whitespace fixes
---
 src/MarkerClusterGroup.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index d2b2683..1818861 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -16,9 +16,9 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 
 		disableClusteringAtZoom: null,
 
-        // Setting this to false prevents the removal of any clusters outside of the viewpoint, which
-        // is the default behaviour for performance reasons.
-        removeOutsideVisibleBounds: true,
+		// Setting this to false prevents the removal of any clusters outside of the viewpoint, which
+		// is the default behaviour for performance reasons.
+		removeOutsideVisibleBounds: true,
 
 		//Whether to animate adding markers after adding the MarkerClusterGroup to the map
 		// If you are adding individual markers set to true, if adding bulk markers leave false for massive performance gains.
@@ -390,9 +390,9 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 		this._map = null;
 	},
 
-	getVisibleParent: function(marker){
+	getVisibleParent: function (marker) {
 		var vMarker = marker;
-		while(vMarker !== null && !vMarker._icon) {
+		while (vMarker !== null && !vMarker._icon) {
 			vMarker = vMarker.__parent;
 		}
 		return vMarker;
@@ -706,9 +706,9 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 
 	//Gets the maps visible bounds expanded in each direction by the size of the screen (so the user cannot see an area we do not cover in one pan)
 	_getExpandedVisibleBounds: function () {
-        if (!this.options.removeOutsideVisibleBounds) {
-            return this.getBounds();
-        }
+		if (!this.options.removeOutsideVisibleBounds) {
+			return this.getBounds();
+		}
 
 		var map = this._map,
 			bounds = map.getBounds(),

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