1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 1 1 1 1 1 | var oldTweenRun = jQuery.Tween.prototype.run;
jQuery.Tween.prototype.run = function( percent ) {
Eif ( jQuery.easing[ this.easing ].length > 1 ) {
migrateWarn(
"easing function " +
"\"jQuery.easing." + this.easing.toString() +
"\" should use only first argument"
);
jQuery.easing[ this.easing ] = jQuery.easing[ this.easing ].bind(
jQuery.easing,
percent, this.options.duration * percent, 0, 1, this.options.duration
);
}
oldTweenRun.apply( this, arguments );
};
|