Skip to content
Permalink
Browse files

Moved the fx queueing over to the new expando system.

  • Loading branch information
jeresig committed Sep 9, 2007
1 parent 7e9d853 commit 97fe63cb4826cbeb74bc0c3a72648f57ae0f0881
Showing with 5 additions and 8 deletions.
  1. +5 −8 src/fx.js
@@ -175,16 +175,13 @@ function queue( elem, type, array ) {
if ( !elem )
return;

if ( !elem.queue )
elem.queue = {};
var queue = jQuery.data( elem, type + "queue" );

if ( !elem.queue[type] )
elem.queue[type] = [];
if ( !queue || array )
queue = jQuery.data( elem, type + "queue",
array ? jQuery.makeArray(array) : [] );

if ( array )
elem.queue[type] = jQuery.makeArray(array);

return elem.queue[type];
return queue;
}

jQuery.extend({

0 comments on commit 97fe63c

Please sign in to comment.
You can’t perform that action at this time.