()
| 301 | delete tick.elem; |
| 302 | }), |
| 303 | tick = function() { |
| 304 | if ( stopped ) { |
| 305 | return false; |
| 306 | } |
| 307 | var currentTime = fxNow || createFxNow(), |
| 308 | remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), |
| 309 | // Support: Android 2.3 |
| 310 | // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) |
| 311 | temp = remaining / animation.duration || 0, |
| 312 | percent = 1 - temp, |
| 313 | index = 0, |
| 314 | length = animation.tweens.length; |
| 315 | |
| 316 | for ( ; index < length ; index++ ) { |
| 317 | animation.tweens[ index ].run( percent ); |
| 318 | } |
| 319 | |
| 320 | deferred.notifyWith( elem, [ animation, percent, remaining ]); |
| 321 | |
| 322 | if ( percent < 1 && length ) { |
| 323 | return remaining; |
| 324 | } else { |
| 325 | deferred.resolveWith( elem, [ animation ] ); |
| 326 | return false; |
| 327 | } |
| 328 | }, |
| 329 | animation = deferred.promise({ |
| 330 | elem: elem, |
| 331 | props: jQuery.extend( {}, properties ), |
nothing calls this directly
no test coverage detected