Small typo in code

master
Dmitry Baranovskiy 2013-10-16 23:52:37 +11:00
parent 036c208a84
commit 77b8e4436d
2 changed files with 3 additions and 4 deletions

View File

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

View File

@ -50,7 +50,7 @@
}, 200, mina.easeout);
setTimeout(animateEach, 200);
i++;
};
}
setTimeout(function () {
logo.attr({