( elem, type, src )
| 1772 | |
| 1773 | |
| 1774 | function handleQueueMarkDefer( elem, type, src ) { |
| 1775 | var deferDataKey = type + "defer", |
| 1776 | queueDataKey = type + "queue", |
| 1777 | markDataKey = type + "mark", |
| 1778 | defer = jQuery.data( elem, deferDataKey, undefined, true ); |
| 1779 | if ( defer && |
| 1780 | ( src === "queue" || !jQuery.data( elem, queueDataKey, undefined, true ) ) && |
| 1781 | ( src === "mark" || !jQuery.data( elem, markDataKey, undefined, true ) ) ) { |
| 1782 | // Give room for hard-coded callbacks to fire first |
| 1783 | // and eventually mark/queue something else on the element |
| 1784 | setTimeout( function() { |
| 1785 | if ( !jQuery.data( elem, queueDataKey, undefined, true ) && |
| 1786 | !jQuery.data( elem, markDataKey, undefined, true ) ) { |
| 1787 | jQuery.removeData( elem, deferDataKey, true ); |
| 1788 | defer.resolve(); |
| 1789 | } |
| 1790 | }, 0 ); |
| 1791 | } |
| 1792 | } |
| 1793 | |
| 1794 | jQuery.extend({ |
| 1795 |
no outgoing calls
no test coverage detected
searching dependent graphs…