mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Per rwaldron's request, added oRequestAnimationFrame as a possibility
This commit is contained in:
parent
fe3203bb5b
commit
9db18ddd84
4
src/effects.js
vendored
4
src/effects.js
vendored
@ -12,7 +12,9 @@ var elemdisplay = {},
|
||||
// opacity animations
|
||||
[ "opacity" ]
|
||||
],
|
||||
requestAnimationFrame = window.webkitRequestAnimationFrame || window.mozRequestionAnimationFrame;
|
||||
requestAnimationFrame = window.webkitRequestAnimationFrame ||
|
||||
window.mozRequestAnimationFrame ||
|
||||
window.oRequestAnimationFrame;
|
||||
|
||||
jQuery.fn.extend({
|
||||
show: function( speed, easing, callback ) {
|
||||
|
Loading…
Reference in New Issue
Block a user