[Pkg-javascript-commits] [leaflet] 03/03: update build
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 16:33:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v0.4.5
in repository leaflet.
commit 88dac5d77c2780930dff4546d08d3bc873471c1f
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date: Thu Oct 25 12:06:41 2012 +0300
update build
---
dist/leaflet-src.js | 15 +++++----------
dist/leaflet.js | 2 +-
2 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/dist/leaflet-src.js b/dist/leaflet-src.js
index 4caee62..ecaae13 100644
--- a/dist/leaflet-src.js
+++ b/dist/leaflet-src.js
@@ -21,7 +21,7 @@ if (typeof exports !== undefined + '') {
window.L = L;
}
-L.version = '0.4.4';
+L.version = '0.4.5';
/*
@@ -788,11 +788,11 @@ L.DomUtil = {
},
getScaleString: function (scale, origin) {
- var preTranslateStr = L.DomUtil.getTranslateString(origin),
- scaleStr = ' scale(' + scale + ') ',
- postTranslateStr = L.DomUtil.getTranslateString(origin.multiplyBy(-1));
- return preTranslateStr + scaleStr + postTranslateStr;
+ var preTranslateStr = L.DomUtil.getTranslateString(origin.add(origin.multiplyBy(-1 * scale))),
+ scaleStr = ' scale(' + scale + ') ';
+
+ return preTranslateStr + scaleStr;
},
setPosition: function (el, point, disable3D) {
@@ -7439,11 +7439,6 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
clearTimeout(this._clearTileBgTimer);
- //dumb FireFox hack, I have no idea why this magic zero translate fixes the scale transition problem
- if (L.Browser.gecko || window.opera) {
- tileBg.style[transform] += ' translate(0,0)';
- }
-
L.Util.falseFn(tileBg.offsetWidth); //hack to make sure transform is updated before running animation
var scaleStr = L.DomUtil.getScaleString(scale, origin),
diff --git a/dist/leaflet.js b/dist/leaflet.js
index d2ce4f8..b24900b 100644
--- a/dist/leaflet.js
+++ b/dist/leaflet.js
@@ -3,4 +3,4 @@
Leaflet is an open-source JavaScript library for mobile-friendly interactive maps.
http://leaflet.cloudmade.com
*/
-(function(e,t){var n,r;typeof exports!=t+""?n=exports:(r=e.L,n={},n.noConflict=function(){return e.L=r,this},e.L=n),n.version="0.4.4",n.Util={extend:function(e){var t=Array.prototype.slice.call(arguments,1);for(var n=0,r=t.length,i;n<r;n++){i=t[n]||{};for(var s in i)i.hasOwnProperty(s)&&(e[s]=i[s])}return e},bind:function(e,t){var n=arguments.length>2?Array.prototype.slice.call(arguments,2):null;return function(){return e.apply(t,n||arguments)}},stamp:function(){var e=0,t="_leaflet_id";r [...]
\ No newline at end of file
+(function(e,t){var n,r;typeof exports!=t+""?n=exports:(r=e.L,n={},n.noConflict=function(){return e.L=r,this},e.L=n),n.version="0.4.5",n.Util={extend:function(e){var t=Array.prototype.slice.call(arguments,1);for(var n=0,r=t.length,i;n<r;n++){i=t[n]||{};for(var s in i)i.hasOwnProperty(s)&&(e[s]=i[s])}return e},bind:function(e,t){var n=arguments.length>2?Array.prototype.slice.call(arguments,2):null;return function(){return e.apply(t,n||arguments)}},stamp:function(){var e=0,t="_leaflet_id";r [...]
\ No newline at end of file
--
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