diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-07-12 14:31:32 +0000 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-07-12 14:31:32 +0000 |
commit | 89b4bc53ca0ca3d4e5c80b94ce92b09cc34af8ef (patch) | |
tree | 44844e8316629f520a1dd93603c058f4bfa93588 /src/data.js | |
parent | 5b84c7c45c8c3c5e7c9a17239cd658b0c87ab892 (diff) | |
download | jquery-89b4bc53ca0ca3d4e5c80b94ce92b09cc34af8ef.tar.gz jquery-89b4bc53ca0ca3d4e5c80b94ce92b09cc34af8ef.zip |
Added a next() shortcut for queues
Diffstat (limited to 'src/data.js')
-rw-r--r-- | src/data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js index ac069ceea..e429c0de5 100644 --- a/src/data.js +++ b/src/data.js @@ -92,7 +92,7 @@ jQuery.extend({ fn = queue[0];
if( fn !== undefined )
- fn.call(elem);
+ fn.call(elem, function() { jQuery(elem).dequeue(type); });
}
});
|