Skip to content
Permalink
Browse files

jquery data: adding missing semicolons

  • Loading branch information
flesler committed Sep 15, 2009
1 parent 9b20eb4 commit 19cd84cf3261ee412a2521df73dcf9d6cfba04a3
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 ) {

0 comments on commit 19cd84c

Please sign in to comment.
You can’t perform that action at this time.