Permalink
Browse files

fix IE9 regression (sorry!)

  • Loading branch information...
mourner committed Aug 7, 2012
1 parent 968aece commit 2aa30376db9ec5a547e900b8f52260510fef72d9
Showing with 15 additions and 11 deletions.
  1. +1 −1 CHANGELOG.md
  2. +1 −1 debug/leaflet-include.js
  3. +6 −4 dist/leaflet-src.js
  4. +1 −1 dist/leaflet.js
  5. +1 −1 src/Leaflet.js
  6. +5 −3 src/map/anim/Map.ZoomAnimation.js
View
@@ -9,7 +9,7 @@ An in-progress version being developed on the master branch.
* No changes since the stable version yet.
-## 0.4.3 (August 7, 2012)
+## 0.4.4 (August 7, 2012)
### Improvements
View
@@ -111,7 +111,7 @@
for (var i = 0; i < scripts.length; i++) {
document.writeln("<script src='" + path + scripts[i] + "'></script>");
}
- document.writeln('<script>L.Icon.Default.imagePath = "' + path + '../dist/images";</script>');
+ document.writeln('<script defer>L.Icon.Default.imagePath = "' + path + '../dist/images";</script>');
})();
function getRandomLatLng(map) {
View
@@ -21,7 +21,7 @@ if (typeof exports !== undefined + '') {
window.L = L;
}
-L.version = '0.4.3';
+L.version = '0.4.4';
/*
@@ -7384,9 +7384,11 @@ L.Map.mergeOptions({
zoomAnimation: L.DomUtil.TRANSITION && !L.Browser.android23 && !L.Browser.mobileOpera
});
-L.Map.addInitHook(function () {
- L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
-});
+if (L.DomUtil.TRANSITION) {
+ L.Map.addInitHook(function () {
+ L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
+ });
+}
L.Map.include(!L.DomUtil.TRANSITION ? {} : {
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -14,4 +14,4 @@ if (typeof exports !== undefined + '') {
window.L = L;
}
-L.version = '0.4.3';
+L.version = '0.4.4';
@@ -2,9 +2,11 @@ L.Map.mergeOptions({
zoomAnimation: L.DomUtil.TRANSITION && !L.Browser.android23 && !L.Browser.mobileOpera
});
-L.Map.addInitHook(function () {
- L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
-});
+if (L.DomUtil.TRANSITION) {
+ L.Map.addInitHook(function () {
+ L.DomEvent.on(this._mapPane, L.Transition.END, this._catchTransitionEnd, this);
+ });
+}
L.Map.include(!L.DomUtil.TRANSITION ? {} : {

0 comments on commit 2aa3037

Please sign in to comment.