( hooks )
| 6901 | }, |
| 6902 | stop: function( type, clearQueue, gotoEnd ) { |
| 6903 | var stopQueue = function( hooks ) { |
| 6904 | var stop = hooks.stop; |
| 6905 | delete hooks.stop; |
| 6906 | stop( gotoEnd ); |
| 6907 | }; |
| 6908 | |
| 6909 | if ( typeof type !== "string" ) { |
| 6910 | gotoEnd = clearQueue; |