]> source.dussan.org Git - jquery.git/commitdiff
Per rwaldron's request, added oRequestAnimationFrame as a possibility
authortimmywil <tim.willison@thisismedium.com>
Tue, 5 Apr 2011 20:28:25 +0000 (16:28 -0400)
committertimmywil <tim.willison@thisismedium.com>
Tue, 5 Apr 2011 20:28:25 +0000 (16:28 -0400)
src/effects.js

index 9835e959828232515033bf29c2bb1eab5c8dd336..727c1a7a9b613aa86bf41754a7d4366670390d66 100644 (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 ) {