()
| 605 | |
| 606 | $.each( handlers, function( event, handler ) { |
| 607 | function handlerProxy() { |
| 608 | |
| 609 | // Allow widgets to customize the disabled handling |
| 610 | // - disabled as an array instead of boolean |
| 611 | // - disabled class as method for disabling individual parts |
| 612 | if ( !suppressDisabledCheck && |
| 613 | ( instance.options.disabled === true || |
| 614 | $( this ).hasClass( "ui-state-disabled" ) ) ) { |
| 615 | return; |
| 616 | } |
| 617 | return ( typeof handler === "string" ? instance[ handler ] : handler ) |
| 618 | .apply( instance, arguments ); |
| 619 | } |
| 620 | |
| 621 | // Copy the guid so direct unbinding works |
| 622 | if ( typeof handler !== "string" ) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…