rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.29k stars 863 forks source link

Found two bugs! #224

Open baijunjie opened 9 years ago

baijunjie commented 9 years ago

bug1:

By default $("div").css("scale"); // return 1 $("div").css("scaleX"); // return 0? $("div").css("scaleY"); // return 0?

bug2:

If the jQuery object to a object $("img").css({x: 200}); $("img").animate({x: 800}, 2000); // Animation of the starting position is not 200, and is always zero

If not the object $("div").css({x: 200}); $("div").animate({x: 800}, 2000); // The starting position of the animation is 200

jQuery.transit is a really nice plugin, hope he more and more perfect!

baijunjie commented 9 years ago

I fix the bugs in my Fork, and add new functions, hope the author can be adopted https://github.com/baijunjie/jquery.transit