( hooks )
| 4104 | }, |
| 4105 | stop: function( type, clearQueue, gotoEnd ) { |
| 4106 | var stopQueue = function( hooks ) { |
| 4107 | var stop = hooks.stop; |
| 4108 | delete hooks.stop; |
| 4109 | stop( gotoEnd ); |
| 4110 | }; |
| 4111 | |
| 4112 | if ( typeof type !== "string" ) { |
| 4113 | gotoEnd = clearQueue; |