jquery data: adding missing semicolons

This commit is contained in:
Ariel Flesler 2009-09-15 01:02:18 +00:00
parent 9b20eb4c85
commit 19cd84cf32

View file

@ -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 ) {