( elem, type, src )
| 1978 | |
| 1979 | |
| 1980 | function handleQueueMarkDefer( elem, type, src ) { |
| 1981 | var deferDataKey = type + "defer", |
| 1982 | queueDataKey = type + "queue", |
| 1983 | markDataKey = type + "mark", |
| 1984 | defer = jQuery._data( elem, deferDataKey ); |
| 1985 | if ( defer && |
| 1986 | ( src === "queue" || !jQuery._data(elem, queueDataKey) ) && |
| 1987 | ( src === "mark" || !jQuery._data(elem, markDataKey) ) ) { |
| 1988 | // Give room for hard-coded callbacks to fire first |
| 1989 | // and eventually mark/queue something else on the element |
| 1990 | setTimeout( function() { |
| 1991 | if ( !jQuery._data( elem, queueDataKey ) && |
| 1992 | !jQuery._data( elem, markDataKey ) ) { |
| 1993 | jQuery.removeData( elem, deferDataKey, true ); |
| 1994 | defer.fire(); |
| 1995 | } |
| 1996 | }, 0 ); |
| 1997 | } |
| 1998 | } |
| 1999 | |
| 2000 | jQuery.extend({ |
| 2001 |
no outgoing calls
no test coverage detected
searching dependent graphs…