| 7921 | var empty = jQuery.isEmptyObject( prop ), |
| 7922 | optall = jQuery.speed( speed, easing, callback ), |
| 7923 | doAnimation = function() { |
| 7924 | |
| 7925 | // Operate on a copy of prop so per-property easing won't be lost |
| 7926 | var anim = Animation( this, jQuery.extend( {}, prop ), optall ); |
| 7927 | |
| 7928 | // Empty animations, or finishing resolves immediately |
| 7929 | if ( empty || jQuery._data( this, "finish" ) ) { |
| 7930 | anim.stop( true ); |
| 7931 | } |
| 7932 | }; |
| 7933 | doAnimation.finish = doAnimation; |
| 7934 | |
| 7935 | return empty || optall.queue === false ? |