[Pkg-javascript-commits] [leaflet-markercluster] 06/219: Remove console.log lines

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 289ae9059fd4cd670673add8047f87b74aa384cf
Author: danzel <danzel at localhost.geek.nz>
Date:   Fri Dec 20 10:03:00 2013 +1300

    Remove console.log lines
---
 src/MarkerClusterGroup.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index 9fed1f9..dfa0bd0 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -166,7 +166,6 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 			var start = 0;
 			var end = this.options.chunkedLoading && chunkSize < layersArray.length ? chunkSize : layersArray.length;
 			var process = L.bind(function () {
-				console.log((+new Date()) + ' processing ' + start + ' - ' + end);
 				for (i = start; i < end; i++) {
 					m = layersArray[i];
 
@@ -193,7 +192,6 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 				}
 
 				if (end === layersArray.length) {
-					console.log((+new Date()) + ' done');
 					//Update the icons of all those visible clusters that were affected
 					this._featureGroup.eachLayer(function (c) {
 						if (c instanceof L.MarkerCluster && c._iconNeedsUpdate) {
@@ -205,14 +203,12 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 				} else {
 					start = end;
 					end = Math.min(end + chunkSize, layersArray.length);
-					console.log((+new Date()) + ' queueing ' + start + ' - ' + end);
 					setTimeout(process, 0);
 				}
 			}, this);
 
 			process();
 		} else {
-			console.log((+new Date()) + ' start pre-add');
 			newMarkers = [];
 			for (i = 0, l = layersArray.length; i < l; i++) {
 				m = layersArray[i];
@@ -230,7 +226,6 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 				newMarkers.push(m);
 			}
 			this._needsClustering = this._needsClustering.concat(newMarkers);
-			console.log((+new Date()) + ' end pre-add');
 		}
 		return this;
 	},

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