( hooks )
| 7769 | }, |
| 7770 | stop: function( type, clearQueue, gotoEnd ) { |
| 7771 | var stopQueue = function( hooks ) { |
| 7772 | var stop = hooks.stop; |
| 7773 | delete hooks.stop; |
| 7774 | stop( gotoEnd ); |
| 7775 | }; |
| 7776 | |
| 7777 | if ( typeof type !== "string" ) { |
| 7778 | gotoEnd = clearQueue; |