[Pkg-javascript-commits] [leaflet-markercluster] 158/219: Removed class extension
Jonas Smedegaard
dr at jones.dk
Sat May 7 09:39:30 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 bf228d5f75c7aeb4ce2154373e1116734acb2bd6
Author: ghybs <ghybs1 at gmail.com>
Date: Thu Oct 22 11:11:21 2015 +0400
Removed class extension
Forgot to remove L.LatLngBounds class extension in previous commit...
---
src/MarkerCluster.js | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/src/MarkerCluster.js b/src/MarkerCluster.js
index 90bd998..68747fc 100644
--- a/src/MarkerCluster.js
+++ b/src/MarkerCluster.js
@@ -404,18 +404,3 @@ L.MarkerCluster = L.Marker.extend({
return this._childClusters.length > 0 && this._childClusters[0]._childCount === this._childCount;
}
});
-
-/**
- * Assigns impossible bounding values so that the next extend entirely determines the new bounds.
- * This method avoids having to trash the previous object and to create a new one, which is much slower for this class.
- */
-L.LatLngBounds.prototype.reset = function () {
- if (this._southWest) {
- this._southWest.lat = Infinity;
- this._southWest.lng = Infinity;
- }
- if (this._northEast) {
- this._northEast.lat = -Infinity;
- this._northEast.lng = -Infinity;
- }
-};
--
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