UNPKG

core-resource-app-test

Version:

App that contains assets and scripts for the core apps

19 lines (15 loc) 491 B
var oldTweenRun = jQuery.Tween.prototype.run; jQuery.Tween.prototype.run = function( percent ) { if ( 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 ); };