Per rwaldron's request, added oRequestAnimationFrame as a possibility

This commit is contained in:
timmywil 2011-04-05 16:28:25 -04:00
parent fe3203bb5b
commit 9db18ddd84

4
src/effects.js vendored
View file

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