( hooks )
| 519 | }, |
| 520 | stop: function( type, clearQueue, gotoEnd ) { |
| 521 | var stopQueue = function( hooks ) { |
| 522 | var stop = hooks.stop; |
| 523 | delete hooks.stop; |
| 524 | stop( gotoEnd ); |
| 525 | }; |
| 526 | |
| 527 | if ( typeof type !== "string" ) { |
| 528 | gotoEnd = clearQueue; |