diff --git a/demos/animated-map/index.html b/demos/animated-map/index.html index 98038e9..fa3623b 100644 --- a/demos/animated-map/index.html +++ b/demos/animated-map/index.html @@ -83,10 +83,9 @@ var flag, len = pth.getTotalLength(); Snap.animate(0, len, function (l) { - flag = !flag; // Safari bug workaround: forcing redraw - g.attr({width: 100 + (flag ? .00001 : 0) + "%"}); - + g.attr({width: 100 + (flag = !flag ? 1e-5 : 0) + "%"}); + // var dot = pth.getPointAtLength(l); flight.attr({ d: pth.getSubpath(0, l) diff --git a/demos/animated-snap-logo/index.html b/demos/animated-snap-logo/index.html index 16c154a..b6bab7a 100644 --- a/demos/animated-snap-logo/index.html +++ b/demos/animated-snap-logo/index.html @@ -50,7 +50,7 @@ }, 200, mina.easeout); setTimeout(animateEach, 200); i++; - }; + } setTimeout(function () { logo.attr({