[Pkg-javascript-commits] [leaflet-markercluster] 24/219: More whitespace fixes :)

Jonas Smedegaard dr at jones.dk
Sat May 7 09:39:08 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 78ccf986650a60e12b7f6a15661accae8124a2e2
Author: danzel <danzel at localhost.geek.nz>
Date:   Wed Jan 22 09:23:55 2014 +1300

    More whitespace fixes :)
---
 example/marker-clustering-realworld.50000.html | 28 +++++++++++++-------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/example/marker-clustering-realworld.50000.html b/example/marker-clustering-realworld.50000.html
index 1a1ecdc..ff73a88 100644
--- a/example/marker-clustering-realworld.50000.html
+++ b/example/marker-clustering-realworld.50000.html
@@ -29,23 +29,23 @@
 
 			var map = L.map('map', { center: latlng, zoom: 13, layers: [cloudmade] });
 
-            var progress = document.getElementById('progress');
-            var progressBar = document.getElementById('progress-bar');
+			var progress = document.getElementById('progress');
+			var progressBar = document.getElementById('progress-bar');
 
-            function updateProgressBar(processed, total, elapsed, layersArray) {
-                if (elapsed > 1000) {
-                    // if it takes more than a second to load, display the progress bar:
-                    progress.style.display = 'block';
-                    progressBar.style.width = Math.round(processed/total*100) + '%';
-                }
+			function updateProgressBar(processed, total, elapsed, layersArray) {
+				if (elapsed > 1000) {
+					// if it takes more than a second to load, display the progress bar:
+					progress.style.display = 'block';
+					progressBar.style.width = Math.round(processed/total*100) + '%';
+				}
 
-                if (processed === total) {
-                    // all markers processed - hide the progress bar:
-                    progress.style.display = 'none';
-                }
-            }
+				if (processed === total) {
+					// all markers processed - hide the progress bar:
+					progress.style.display = 'none';
+				}
+			}
 
-            var markers = L.markerClusterGroup({ chunkedLoading: true, chunkProgress: updateProgressBar });
+			var markers = L.markerClusterGroup({ chunkedLoading: true, chunkProgress: updateProgressBar });
 
 			var markerList = [];
 

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