( hooks )
| 8485 | }, |
| 8486 | stop: function( type, clearQueue, gotoEnd ) { |
| 8487 | var stopQueue = function( hooks ) { |
| 8488 | var stop = hooks.stop; |
| 8489 | delete hooks.stop; |
| 8490 | stop( gotoEnd ); |
| 8491 | }; |
| 8492 | |
| 8493 | if ( typeof type !== "string" ) { |
| 8494 | gotoEnd = clearQueue; |