// 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