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