git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jquery data: adding missing semicolons
[jquery.git]
/
src
/
data.js
diff --git
a/src/data.js
b/src/data.js
index
d03d51f
..
4b557de
100644
(file)
--- a/
src/data.js
+++ b/
src/data.js
@@
-25,9
+25,9
@@
jQuery.extend({
// Prevent overriding the named cache with undefined values
\r
if ( data !== undefined ) thisCache[ name ] = data;
\r
\r
// Prevent overriding the named cache with undefined values
\r
if ( data !== undefined ) thisCache[ name ] = data;
\r
\r
- if(name === true) return thisCache
\r
- else if(name) return thisCache[name]
\r
- else return id
\r
+ if(name === true) return thisCache;
\r
+ else if(name) return thisCache[name];
\r
+ else return id;
\r
},
\r
\r
removeData: function( elem, name ) {
\r
},
\r
\r
removeData: function( elem, name ) {
\r