From f7de94b0536cff97cbe1bee8f607072f19cfdfe2 Mon Sep 17 00:00:00 2001 From: Ken Schwencke Date: Sat, 4 Jan 2014 15:47:05 -0800 Subject: [PATCH] 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 885ec44f6..c559b5329 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; }