Remove dup camelKey path

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
Rick Waldron 2013-03-01 19:33:12 -05:00
parent 3212a29369
commit 8f7218198d

View 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;
}