( hooks )
| 7475 | }, |
| 7476 | stop: function( type, clearQueue, gotoEnd ) { |
| 7477 | var stopQueue = function( hooks ) { |
| 7478 | var stop = hooks.stop; |
| 7479 | delete hooks.stop; |
| 7480 | stop( gotoEnd ); |
| 7481 | }; |
| 7482 | |
| 7483 | if ( typeof type !== "string" ) { |
| 7484 | gotoEnd = clearQueue; |