jquery data: adding missing semicolons
This commit is contained in:
parent
9b20eb4c85
commit
19cd84cf32
1 changed files with 3 additions and 3 deletions
|
@ -25,9 +25,9 @@ jQuery.extend({
|
|||
// Prevent overriding the named cache with undefined values
|
||||
if ( data !== undefined ) thisCache[ name ] = data;
|
||||
|
||||
if(name === true) return thisCache
|
||||
else if(name) return thisCache[name]
|
||||
else return id
|
||||
if(name === true) return thisCache;
|
||||
else if(name) return thisCache[name];
|
||||
else return id;
|
||||
},
|
||||
|
||||
removeData: function( elem, name ) {
|
||||
|
|
Loading…
Reference in a new issue