fix removal of useful code by closure compiler

This commit is contained in:
mourner 2011-03-31 22:59:46 +03:00
parent 9d93998ba2
commit 8f2bc2c11b

View File

@ -37,7 +37,7 @@ L.Map.include(!(L.Transition && L.Transition.implemented()) ? {} : {
this._tileBg.style[L.DomUtil.TRANSFORM_PROPERTY] = startTransform;
this._tileBg.offsetWidth; //hack to make sure transform is updated before running animation
L.Util.falseFn(this._tileBg.offsetWidth); //hack to make sure transform is updated before running animation
var options = {};
options[L.DomUtil.TRANSFORM_PROPERTY] = startTransform + ' ' + L.DomUtil.getScaleString(scale, origin);