aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
authorColin Snover <github.com@zetafleet.com>2011-01-09 15:52:33 -0600
committerColin Snover <github.com@zetafleet.com>2011-01-09 15:52:33 -0600
commit8e59a99e0ade75dec434f246f52e8b3f7393f359 (patch)
treefa4368b2445650070c78122102b7c85d5293116b /src/queue.js
parent1d1d4fe112c49cbd704d880b27cc646f2bfe1737 (diff)
downloadjquery-8e59a99e0ade75dec434f246f52e8b3f7393f359.tar.gz
jquery-8e59a99e0ade75dec434f246f52e8b3f7393f359.zip
Change the way jQuery.data works so that there is no longer a chance of collision between user data and internal data. Fixes #6968.
Diffstat (limited to 'src/queue.js')
-rw-r--r--src/queue.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue.js b/src/queue.js
index 735b0e189..5fb04df80 100644
--- a/src/queue.js
+++ b/src/queue.js
@@ -7,7 +7,7 @@ jQuery.extend({
}
type = (type || "fx") + "queue";
- var q = jQuery.data( elem, type );
+ var q = jQuery._data( elem, type );
// Speed up dequeue by getting out quickly if this is just a lookup
if ( !data ) {
@@ -15,7 +15,7 @@ jQuery.extend({
}
if ( !q || jQuery.isArray(data) ) {
- q = jQuery.data( elem, type, jQuery.makeArray(data) );
+ q = jQuery._data( elem, type, jQuery.makeArray(data) );
} else {
q.push( data );