| 9301 | var empty = jQuery.isEmptyObject( prop ), |
| 9302 | optall = jQuery.speed( speed, easing, callback ), |
| 9303 | doAnimation = function() { |
| 9304 | // Operate on a copy of prop so per-property easing won't be lost |
| 9305 | var anim = Animation( this, jQuery.extend( {}, prop ), optall ); |
| 9306 | |
| 9307 | // Empty animations, or finishing resolves immediately |
| 9308 | if ( empty || jQuery._data( this, "finish" ) ) { |
| 9309 | anim.stop( true ); |
| 9310 | } |
| 9311 | }; |
| 9312 | doAnimation.finish = doAnimation; |
| 9313 | |
| 9314 | return empty || optall.queue === false ? |