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 // Prevent overriding the named cache with undefined values
if ( data !== undefined ) thisCache[ name ] = data; if ( data !== undefined ) thisCache[ name ] = data;
if(name === true) return thisCache if(name === true) return thisCache;
else if(name) return thisCache[name] else if(name) return thisCache[name];
else return id else return id;
}, },
removeData: function( elem, name ) { removeData: function( elem, name ) {