( hooks )
| 6641 | }, |
| 6642 | stop: function( type, clearQueue, gotoEnd ) { |
| 6643 | var stopQueue = function( hooks ) { |
| 6644 | var stop = hooks.stop; |
| 6645 | delete hooks.stop; |
| 6646 | stop( gotoEnd ); |
| 6647 | }; |
| 6648 | |
| 6649 | if ( typeof type !== "string" ) { |
| 6650 | gotoEnd = clearQueue; |