( hooks )
| 9135 | }, |
| 9136 | stop: function( type, clearQueue, gotoEnd ) { |
| 9137 | var stopQueue = function( hooks ) { |
| 9138 | var stop = hooks.stop; |
| 9139 | delete hooks.stop; |
| 9140 | stop( gotoEnd ); |
| 9141 | }; |
| 9142 | |
| 9143 | if ( typeof type !== "string" ) { |
| 9144 | gotoEnd = clearQueue; |