Per rwaldron's request, added oRequestAnimationFrame as a possibility
This commit is contained in:
parent
fe3203bb5b
commit
9db18ddd84
1 changed files with 3 additions and 1 deletions
4
src/effects.js
vendored
4
src/effects.js
vendored
|
@ -12,7 +12,9 @@ var elemdisplay = {},
|
||||||
// opacity animations
|
// opacity animations
|
||||||
[ "opacity" ]
|
[ "opacity" ]
|
||||||
],
|
],
|
||||||
requestAnimationFrame = window.webkitRequestAnimationFrame || window.mozRequestionAnimationFrame;
|
requestAnimationFrame = window.webkitRequestAnimationFrame ||
|
||||||
|
window.mozRequestAnimationFrame ||
|
||||||
|
window.oRequestAnimationFrame;
|
||||||
|
|
||||||
jQuery.fn.extend({
|
jQuery.fn.extend({
|
||||||
show: function( speed, easing, callback ) {
|
show: function( speed, easing, callback ) {
|
||||||
|
|
Loading…
Reference in a new issue