mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
jquery data: adding missing semicolons
This commit is contained in:
parent
9b20eb4c85
commit
19cd84cf32
@ -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 New Issue
Block a user