From: Ariel Flesler Date: Tue, 15 Sep 2009 01:02:18 +0000 (+0000) Subject: jquery data: adding missing semicolons X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=19cd84cf3261ee412a2521df73dcf9d6cfba04a3 jquery data: adding missing semicolons --- diff --git a/src/data.js b/src/data.js index d03d51f..4b557de 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 ) {