You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a PR adding patches for $.fn.data, but I've just realized it doesn't change the behavior of the shared code snippet. However, neither jQuery 1 nor jQuery 2 behave in that way either! data-* attribute names are camelcased in the data object.
@liady you may not remember the context after all this time, but if you do, can you explain how you got this result?
Currently this migration script fixes only
$.data()
calls, but$.fn.data
still have the incompatibility with automatic camelCase conversion.The text was updated successfully, but these errors were encountered: