diff options
author | Ariel Flesler <aflesler@gmail.com> | 2009-09-15 01:02:18 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2009-09-15 01:02:18 +0000 |
commit | 19cd84cf3261ee412a2521df73dcf9d6cfba04a3 (patch) | |
tree | 68cb962d52d61e8ed652ecb403d89617e1289030 /src/data.js | |
parent | 9b20eb4c85edb156d365e7e376faeef5c741e8fd (diff) | |
download | jquery-19cd84cf3261ee412a2521df73dcf9d6cfba04a3.tar.gz jquery-19cd84cf3261ee412a2521df73dcf9d6cfba04a3.zip |
jquery data: adding missing semicolons
Diffstat (limited to 'src/data.js')
-rw-r--r-- | src/data.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data.js b/src/data.js index d03d51f2f..4b557de0c 100644 --- a/src/data.js +++ b/src/data.js @@ -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 ) {
|