Merge branch 'master' into gh-pages

This commit is contained in:
Vladimir Agafonkin 2012-08-07 18:45:45 +03:00
commit fb165dbc6f
6 changed files with 15 additions and 11 deletions

View File

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

@ -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) {

10
dist/leaflet-src.js vendored
View File

@ -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 ? {} : {

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long

View File

@ -14,4 +14,4 @@ if (typeof exports !== undefined + '') {
window.L = L;
}
L.version = '0.4.3';
L.version = '0.4.4';

View File

@ -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 ? {} : {