git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5b9214e
)
Fix for SVN rev [6537]. Events weren't being unbound correctly in Internet Explorer...
author
John Resig
<jeresig@gmail.com>
Tue, 15 Sep 2009 15:56:18 +0000
(15:56 +0000)
committer
John Resig
<jeresig@gmail.com>
Tue, 15 Sep 2009 15:56:18 +0000
(15:56 +0000)
src/manipulation.js
patch
|
blob
|
history
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
73b0de3
..
b883567
100644
(file)
--- a/
src/manipulation.js
+++ b/
src/manipulation.js
@@
-444,9
+444,8
@@
jQuery.extend({
});
function cleanData( elems ) {
});
function cleanData( elems ) {
- for ( var i = 0, l = elems.length; i < l; i++ ) {
- var id = elems[i][expando];
- if ( id ) {
+ for ( var i = 0, elem, id; (elem = elems[i]) != null; i++ ) {
+ if ( (id = elem[expando]) ) {
delete jQuery.cache[ id ];
}
}
delete jQuery.cache[ id ];
}
}