( hooks )
| 7938 | }, |
| 7939 | stop: function( type, clearQueue, gotoEnd ) { |
| 7940 | var stopQueue = function( hooks ) { |
| 7941 | var stop = hooks.stop; |
| 7942 | delete hooks.stop; |
| 7943 | stop( gotoEnd ); |
| 7944 | }; |
| 7945 | |
| 7946 | if ( typeof type !== "string" ) { |
| 7947 | gotoEnd = clearQueue; |