git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that undefined is always returned for undefined data properties. Fixes...
[jquery.git]
/
src
/
data.js
diff --git
a/src/data.js
b/src/data.js
index
b9986f5
..
a97ac04
100644
(file)
--- a/
src/data.js
+++ b/
src/data.js
@@
-25,7
+25,7
@@
jQuery.extend({
var id = elem[ expando ], cache = jQuery.cache, thisCache;
if ( !id && typeof name === "string" && data === undefined ) {
- return null;
+ return;
}
// Compute a unique ID for the element