[Pkg-javascript-commits] [leaflet-markercluster] 13/219: fixed other style issues

Jonas Smedegaard dr at jones.dk
Sat May 7 09:39:06 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 f7de94b0536cff97cbe1bee8f607072f19cfdfe2
Author: Ken Schwencke <schwank at gmail.com>
Date:   Sat Jan 4 15:47:05 2014 -0800

    fixed other style issues
---
 src/MarkerClusterGroup.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index 885ec44..c559b53 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -701,9 +701,9 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 		//If we just set maxClusterRadius to a single number, we need to create
 		//a simple function to return that number. Otherwise, we just have to
 		//use the function we've passed in.
-		if(typeof radius == "number") {
-			radiusFunction = function(){ return radius };
-		} else if(typeof radius == "function") {
+		if (typeof radius === "number") {
+			radiusFunction = function () { return radius; };
+		} else if (typeof radius === "function") {
 			radiusFunction = radius;
 		}
 

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