( hooks )
| 6959 | }, |
| 6960 | stop: function( type, clearQueue, gotoEnd ) { |
| 6961 | var stopQueue = function( hooks ) { |
| 6962 | var stop = hooks.stop; |
| 6963 | delete hooks.stop; |
| 6964 | stop( gotoEnd ); |
| 6965 | }; |
| 6966 | |
| 6967 | if ( typeof type !== "string" ) { |
| 6968 | gotoEnd = clearQueue; |