( hooks )
| 493 | }, |
| 494 | stop: function( type, clearQueue, gotoEnd ) { |
| 495 | var stopQueue = function( hooks ) { |
| 496 | var stop = hooks.stop; |
| 497 | delete hooks.stop; |
| 498 | stop( gotoEnd ); |
| 499 | }; |
| 500 | |
| 501 | if ( typeof type !== "string" ) { |
| 502 | gotoEnd = clearQueue; |