]> source.dussan.org Git - jquery.git/commit
Effects: Improve raf logic
authorOleg Gaidarenko <markelog@gmail.com>
Sun, 15 Jun 2014 22:59:41 +0000 (02:59 +0400)
committerOleg Gaidarenko <markelog@gmail.com>
Sun, 15 Jun 2014 23:21:53 +0000 (03:21 +0400)
commit9dc29a2b130e6bbcdbcaf8fdc1433a41e6b7a585
tree315f93166d47201d58232408754aa5380cadaa38
parent06a45406966ee8cde31c4f128d7ee68d727880c1
Effects: Improve raf logic

* Make animation behave as if jQuery.fx.off = true if document is hidden

* Use cancelAnimationFrame in jQuery.fx.stop

Ref 708764f47b0c8de152bbb444d0f608db558b76ed
src/effects.js
test/unit/effects.js