aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2008-04-24 21:46:22 +0000
committerAriel Flesler <aflesler@gmail.com>2008-04-24 21:46:22 +0000
commit25f9974cee5874d10df32f2d16fb985181e0c077 (patch)
tree51623ec8c6a6c5abc413124a9837beb97c4e2193 /src/fx.js
parentba391eccf9ab50056e2126f712741537d27fe1c9 (diff)
downloadjquery-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.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fx.js b/src/fx.js
index 64cfbc625..824616afb 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -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;
};