[Pkg-javascript-commits] [leaflet] 29/78: revert c759481 (fixed elsewhere), close #3796

Jonas Smedegaard dr at jones.dk
Sat May 7 08:58:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet.

commit 19c295ea7cc27f6aaaabed7c14d4affc8113279f
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Wed Sep 2 10:09:45 2015 +0200

    revert c759481 (fixed elsewhere), close #3796
---
 CHANGELOG.md               | 8 ++++++--
 package.json               | 2 +-
 src/Leaflet.js             | 2 +-
 src/layer/marker/Marker.js | 8 ++------
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d9749b3..c412155 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,7 +3,11 @@ Leaflet Changelog
 
 (all changes without author notice are by [@mourner](https://github.com/mourner))
 
-## 0.7.4 (Aug 2015, 31)
+## 0.7.5 (September 2, 2015)
+
+* Fixed a regression that broke animation in Leaflet.markercluster. [#3796](https://github.com/Leaflet/Leaflet/issues/3796)
+
+## 0.7.4 (September 1, 2015)
 
 * Fixed a bug introduced by a recent Chrome update that caused the map not to react to interactions until all tiles are loaded. [#3689](https://github.com/Leaflet/Leaflet/issues/3689)
 * Fixed a bug where tile layers were not respecting their `minZoom` or `maxZoom` options (by [@ivansanchez](https://github.com/ivansanchez)) [#3778](https://github.com/Leaflet/Leaflet/pull/3778)
@@ -17,7 +21,7 @@ Leaflet Changelog
 * Allow canvas lines to use `lineCap` and `lineJoin` options (by [@northerneyes](https://github.com/northerneyes)) [#3156](https://github.com/Leaflet/Leaflet/pull/3156)
 * Updated bower definitions to comply with best practices (by [@guptaso2](https://github.com/guptaso2)) [#2726](https://github.com/Leaflet/Leaflet/pull/2726) [#3448](https://github.com/Leaflet/Leaflet/pull/3448)
 
-## 0.7.3 (May 2014, 23)
+## 0.7.3 (May 23, 2014)
 
 * Added proper **bower** and **component** support (by [@calvinmetcalf](https://github.com/calvinmetcalf)). [#2561](https://github.com/Leaflet/Leaflet/pull/2561) [#1903](https://github.com/Leaflet/Leaflet/issues/1903)
 * Fixed a bug where dragging the map outside the window caused an error on FF. [#2610](https://github.com/Leaflet/Leaflet/issues/2610)
diff --git a/package.json b/package.json
index 5ef3551..8449979 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "leaflet",
-  "version": "0.7.4",
+  "version": "0.7.5",
   "description": "JavaScript library for mobile-friendly interactive maps",
   "devDependencies": {
     "jake": "~0.7.4",
diff --git a/src/Leaflet.js b/src/Leaflet.js
index 096e007..022fc54 100644
--- a/src/Leaflet.js
+++ b/src/Leaflet.js
@@ -2,7 +2,7 @@
 var oldL = window.L,
     L = {};
 
-L.version = '0.7.4';
+L.version = '0.7.5';
 
 // define Leaflet for Node module pattern loaders, including Browserify
 if (typeof module === 'object' && typeof module.exports === 'object') {
diff --git a/src/layer/marker/Marker.js b/src/layer/marker/Marker.js
index 4a22440..c6279ca 100644
--- a/src/layer/marker/Marker.js
+++ b/src/layer/marker/Marker.js
@@ -98,12 +98,8 @@ L.Marker = L.Class.extend({
 
 	update: function () {
 		if (this._icon) {
-			var pos = this._map.latLngToLayerPoint(this._latlng).round();
-			L.Util.requestAnimFrame(function () {
-				this._setPos(pos);
-			}, this);
+			this._setPos(this._map.latLngToLayerPoint(this._latlng).round());
 		}
-
 		return this;
 	},
 
@@ -126,7 +122,7 @@ L.Marker = L.Class.extend({
 			if (options.title) {
 				icon.title = options.title;
 			}
-			
+
 			if (options.alt) {
 				icon.alt = options.alt;
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git



More information about the Pkg-javascript-commits mailing list