()
| 8346 | var empty = jQuery.isEmptyObject( prop ), |
| 8347 | optall = jQuery.speed( speed, easing, callback ), |
| 8348 | doAnimation = function() { |
| 8349 | // Operate on a copy of prop so per-property easing won't be lost |
| 8350 | var anim = Animation( this, jQuery.extend( {}, prop ), optall ); |
| 8351 | doAnimation.finish = function() { |
| 8352 | anim.stop( true ); |
| 8353 | }; |
| 8354 | // Empty animations, or finishing resolves immediately |
| 8355 | if ( empty || data_priv.get( this, "finish" ) ) { |
| 8356 | anim.stop( true ); |
| 8357 | } |
| 8358 | }; |
| 8359 | doAnimation.finish = doAnimation; |
| 8360 | |
| 8361 | return empty || optall.queue === false ? |
nothing calls this directly
no test coverage detected