aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects.js
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-04-05 16:28:25 -0400
committertimmywil <tim.willison@thisismedium.com>2011-04-05 16:28:25 -0400
commit9db18ddd84adf63166f411a4f2c776b51d1840e0 (patch)
treeb7f866da05cd943fb7ef4d42e93f31e393220a47 /src/effects.js
parentfe3203bb5bdc0049467214e7f0979a3487d5681b (diff)
downloadjquery-9db18ddd84adf63166f411a4f2c776b51d1840e0.tar.gz
jquery-9db18ddd84adf63166f411a4f2c776b51d1840e0.zip
Per rwaldron's request, added oRequestAnimationFrame as a possibility
Diffstat (limited to 'src/effects.js')
-rw-r--r--src/effects.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/effects.js b/src/effects.js
index 9835e9598..727c1a7a9 100644
--- a/src/effects.js
+++ b/src/effects.js
@@ -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 ) {