| 6884 | var empty = jQuery.isEmptyObject( prop ), |
| 6885 | optall = jQuery.speed( speed, easing, callback ), |
| 6886 | doAnimation = function() { |
| 6887 | |
| 6888 | // Operate on a copy of prop so per-property easing won't be lost |
| 6889 | var anim = Animation( this, jQuery.extend( {}, prop ), optall ); |
| 6890 | |
| 6891 | // Empty animations, or finishing resolves immediately |
| 6892 | if ( empty || dataPriv.get( this, "finish" ) ) { |
| 6893 | anim.stop( true ); |
| 6894 | } |
| 6895 | }; |
| 6896 | doAnimation.finish = doAnimation; |
| 6897 | |
| 6898 | return empty || optall.queue === false ? |