In 1.1.3.1 version, the animate function I see now takes 4 params - why are the utility functions (slideUp,slideDown,slideToggle,fadeIn,fadeOut,fadeTo) seeming to pass only 3 and in the wrong order? Is this an oversight?
animate: function( prop, speed, easing, callback ) //animate function declaration
slideDown: function(speed,callback){
return this.animate({height: "show"}, speed, callback);
},
slideUp: function(speed,callback){
return this.animate({height: "hide"}, speed, callback);
},
slideToggle: function(speed, callback){
return this.animate({height: "toggle"}, speed, callback);
},
fadeIn: function(speed, callback){
return this.animate({opacity: "show"}, speed, callback);
},
fadeOut: function(speed, callback){
return this.animate({opacity: "hide"}, speed, callback);
},
fadeTo: function(speed,to,callback){
return this.animate({opacity: to}, speed, callback);
},
I've put a temporary fix to this by inserting the string 'linear' as the 3rd argument.
slideDown: function(speed,callback){
return this.animate({height: "show"}, speed, ''''linear'''', callback);
},
slideUp: function(speed,callback){
return this.animate({height: "hide"}, speed, ''''linear'''', callback);
},
slideToggle: function(speed, callback){
return this.animate({height: "toggle"}, speed, ''''linear'''', callback);
},
fadeIn: function(speed, callback){
return this.animate({opacity: "show"}, speed, ''''linear'''', callback);
},
fadeOut: function(speed, callback){
return this.animate({opacity: "hide"}, speed, ''''linear'''', callback);
},
fadeTo: function(speed,to,callback){
return this.animate({opacity: to}, speed, ''''linear'''', callback);
},