()
| 6695 | delete tick.elem; |
| 6696 | } ), |
| 6697 | tick = function() { |
| 6698 | if ( stopped ) { |
| 6699 | return false; |
| 6700 | } |
| 6701 | var currentTime = fxNow || createFxNow(), |
| 6702 | remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), |
| 6703 | |
| 6704 | // Support: Android 2.3 |
| 6705 | // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) |
| 6706 | temp = remaining / animation.duration || 0, |
| 6707 | percent = 1 - temp, |
| 6708 | index = 0, |
| 6709 | length = animation.tweens.length; |
| 6710 | |
| 6711 | for ( ; index < length ; index++ ) { |
| 6712 | animation.tweens[ index ].run( percent ); |
| 6713 | } |
| 6714 | |
| 6715 | deferred.notifyWith( elem, [ animation, percent, remaining ] ); |
| 6716 | |
| 6717 | if ( percent < 1 && length ) { |
| 6718 | return remaining; |
| 6719 | } else { |
| 6720 | deferred.resolveWith( elem, [ animation ] ); |
| 6721 | return false; |
| 6722 | } |
| 6723 | }, |
| 6724 | animation = deferred.promise( { |
| 6725 | elem: elem, |
| 6726 | props: jQuery.extend( {}, properties ), |
nothing calls this directly
no test coverage detected