()
| 7757 | var empty = jQuery.isEmptyObject( prop ), |
| 7758 | optall = jQuery.speed( speed, easing, callback ), |
| 7759 | doAnimation = function() { |
| 7760 | |
| 7761 | // Operate on a copy of prop so per-property easing won't be lost |
| 7762 | var anim = Animation( this, jQuery.extend( {}, prop ), optall ); |
| 7763 | |
| 7764 | // Empty animations, or finishing resolves immediately |
| 7765 | if ( empty || dataPriv.get( this, "finish" ) ) { |
| 7766 | anim.stop( true ); |
| 7767 | } |
| 7768 | }; |
| 7769 | |
| 7770 | doAnimation.finish = doAnimation; |
| 7771 |