( hooks )
| 6698 | }, |
| 6699 | stop: function( type, clearQueue, gotoEnd ) { |
| 6700 | var stopQueue = function( hooks ) { |
| 6701 | var stop = hooks.stop; |
| 6702 | delete hooks.stop; |
| 6703 | stop( gotoEnd ); |
| 6704 | }; |
| 6705 | |
| 6706 | if ( typeof type !== "string" ) { |
| 6707 | gotoEnd = clearQueue; |