diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-04-24 21:46:22 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-04-24 21:46:22 +0000 |
commit | 25f9974cee5874d10df32f2d16fb985181e0c077 (patch) | |
tree | 51623ec8c6a6c5abc413124a9837beb97c4e2193 /src/fx.js | |
parent | ba391eccf9ab50056e2126f712741537d27fe1c9 (diff) | |
download | jquery-25f9974cee5874d10df32f2d16fb985181e0c077.tar.gz jquery-25f9974cee5874d10df32f2d16fb985181e0c077.zip |
jquery core: simplified the code using the new jQuery.makeArray from [5314] where possible.
Diffstat (limited to 'src/fx.js')
-rw-r--r-- | src/fx.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -188,8 +188,7 @@ var queue = function( elem, type, array ) { var q = jQuery.data( elem, type + "queue" ); if ( !q || array ) - q = jQuery.data( elem, type + "queue", - array ? jQuery.makeArray(array) : [] ); + q = jQuery.data( elem, type + "queue", jQuery.makeArray(array) ); return q; }; |