jquery data: adding missing semicolons
[jquery.git] / src / data.js
index d03d51f..4b557de 100644 (file)
@@ -25,9 +25,9 @@ jQuery.extend({
                // Prevent overriding the named cache with undefined values\r
                if ( data !== undefined ) thisCache[ name ] = data;\r
 \r
-               if(name === true) return thisCache\r
-               else if(name) return thisCache[name]\r
-               else return id\r
+               if(name === true) return thisCache;\r
+               else if(name) return thisCache[name];\r
+               else return id;\r
        },\r
 \r
        removeData: function( elem, name ) {\r