Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong using of .data jquery method #20

Open
ghost opened this issue Jan 26, 2011 · 0 comments
Open

Wrong using of .data jquery method #20

ghost opened this issue Jan 26, 2011 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 26, 2011

Current datalink plugin use .data() jquery method to update plain object properties.
This behaviour of .data method is regression of versions 1.4.3+1.4.4. In 1.5RC1 this regression is fixed, and now .data method creates new property in data sattelite object. I.e. binding breaks...
I think datalink must use some other method to update object properties, or do it with configurable manner, while standard jQuery behaviour (as 1.4.2 or 1.5) can be useful for object change-tracking for ex.

You can see full explanation on http://bugs.jquery.com/ticket/8047 or this test case http://jsfiddle.net/jitter/VvYTh/ of .data method.

PS: Good plugin. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants