()
| 9117 | var empty = jQuery.isEmptyObject( prop ), |
| 9118 | optall = jQuery.speed( speed, easing, callback ), |
| 9119 | doAnimation = function() { |
| 9120 | // Operate on a copy of prop so per-property easing won't be lost |
| 9121 | var anim = Animation( this, jQuery.extend( {}, prop ), optall ); |
| 9122 | doAnimation.finish = function() { |
| 9123 | anim.stop( true ); |
| 9124 | }; |
| 9125 | // Empty animations, or finishing resolves immediately |
| 9126 | if ( empty || jQuery._data( this, "finish" ) ) { |
| 9127 | anim.stop( true ); |
| 9128 | } |
| 9129 | }; |
| 9130 | doAnimation.finish = doAnimation; |
| 9131 | |
| 9132 | return empty || optall.queue === false ? |
nothing calls this directly
no test coverage detected