[Pkg-javascript-commits] [leaflet-markercluster] 70/479: Trash debug bits
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 16:00:11 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 569b64fc3c1ef4b9ebb7504b297ccebd06f8942a
Author: danzel <danzel at localhost.geek.nz>
Date: Fri Jul 20 16:43:00 2012 +1200
Trash debug bits
---
src/MarkerCluster.js | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/MarkerCluster.js b/src/MarkerCluster.js
index c98715b..5b87905 100644
--- a/src/MarkerCluster.js
+++ b/src/MarkerCluster.js
@@ -388,9 +388,6 @@ L.MarkerCluster = L.Marker.extend({
clusters = res.clusters,
i;
- var oldMarkers = this._markers;
- var old = this._childCount;
-
this._markers = [];
this._childCount = 0;
@@ -401,10 +398,6 @@ L.MarkerCluster = L.Marker.extend({
this._addChild(clusters[i]);
}
- if (this._childCount != old) {
- debugger;
- }
-
delete this._zoomForCluster;
this._haveGeneratedChildClusters = true;
},
--
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