( elem, type, array )
| 180 | }); |
| 181 | |
| 182 | var queue = function( elem, type, array ) { |
| 183 | if ( elem ){ |
| 184 | |
| 185 | type = type || "fx"; |
| 186 | |
| 187 | var q = jQuery.data( elem, type + "queue" ); |
| 188 | |
| 189 | if ( !q || array ) |
| 190 | q = jQuery.data( elem, type + "queue", jQuery.makeArray(array) ); |
| 191 | |
| 192 | } |
| 193 | return q; |
| 194 | }; |
| 195 | |
| 196 | jQuery.fn.dequeue = function(type){ |
| 197 | type = type || "fx"; |