]> source.dussan.org Git - jquery.git/commitdiff
Remove dup camelKey path
authorRick Waldron <waldron.rick@gmail.com>
Sat, 2 Mar 2013 00:33:12 +0000 (19:33 -0500)
committerRick Waldron <waldron.rick@gmail.com>
Sat, 2 Mar 2013 00:33:12 +0000 (19:33 -0500)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
src/data.js

index fb97d2fda3d96f1097148deea4ef08ae3ac9d9e0..66fe1134dd47b545c08c708469223a6f03b1a443 100644 (file)
@@ -279,14 +279,6 @@ jQuery.fn.extend({
                                        return data;
                                }
 
-                               // As a last resort, attempt to find
-                               // the data by checking AGAIN, but with
-                               // a camelCased key.
-                               data = data_user.get( elem, camelKey );
-                               if ( data !== undefined ) {
-                                       return data;
-                               }
-
                                // We tried really hard, but the data doesn't exist.
                                return undefined;
                        }