( hooks )
| 6894 | }, |
| 6895 | stop: function( type, clearQueue, gotoEnd ) { |
| 6896 | var stopQueue = function( hooks ) { |
| 6897 | var stop = hooks.stop; |
| 6898 | delete hooks.stop; |
| 6899 | stop( gotoEnd ); |
| 6900 | }; |
| 6901 | |
| 6902 | if ( typeof type !== "string" ) { |
| 6903 | gotoEnd = clearQueue; |