Update build and update to build :)

This commit is contained in:
danzel
2012-07-30 11:12:54 +12:00
parent ff686786e4
commit f0414083dd
3 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -158,7 +158,7 @@ L.MarkerCluster = L.Marker.extend({
},
_canAcceptPosition: function (latlng, zoom) {
if (this._childCount == 0) {
if (this._childCount === 0) {
return true;
}
@@ -425,7 +425,7 @@ L.MarkerCluster = L.Marker.extend({
this._bounds.extend(childClusters[i]._bounds);
}
if (this._childCount == 0) {
if (this._childCount === 0) {
delete this._latlng;
} else {
this.setLatLng(this._bounds.getCenter());