git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix dangling comma of death in data.js
[jquery.git]
/
src
/
data.js
diff --git
a/src/data.js
b/src/data.js
index
ac069ce
..
8714ab9
100644
(file)
--- a/
src/data.js
+++ b/
src/data.js
@@
-92,7
+92,7
@@
jQuery.extend({
fn = queue[0];
\r
\r
if( fn !== undefined )
\r
fn = queue[0];
\r
\r
if( fn !== undefined )
\r
- fn.call(elem);
\r
+ fn.call(elem, function() { jQuery(elem).dequeue(type); });
\r
}
\r
});
\r
\r
}
\r
});
\r
\r
@@
-141,5
+141,8
@@
jQuery.fn.extend({
return this.each(function(){
\r
jQuery.dequeue( this, type );
\r
});
\r
return this.each(function(){
\r
jQuery.dequeue( this, type );
\r
});
\r
+ },
\r
+ clearQueue: function(type){
\r
+ return this.queue( type, [] );
\r
}
\r
});
\ No newline at end of file
}
\r
});
\ No newline at end of file