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

data events not displaying with jquery 1.9.1 ++ #34

Open
spoutnikz opened this issue Jul 15, 2013 · 4 comments
Open

data events not displaying with jquery 1.9.1 ++ #34

spoutnikz opened this issue Jul 15, 2013 · 4 comments

Comments

@spoutnikz
Copy link

Hi there!

I saw the issue #33 has been closed and indeed events are shown with this version.

It still works with jquery 1.8.3:
http://jsfiddle.net/FRZwp/2/

However with jquery 1.9.1 and onwards it doesn't work anymore:
http://jsfiddle.net/FRZwp/1/

Maybe the firequery code (firequery.js, starting from line 630) should implement the jQuery._data(element, "events") in some way?

cheers

@atwright147
Copy link

This is also a problem for me.

I hope this can be fixed -- this feature is the only reason I ever use Firefox for development these days.
firequery-jquery-1 8 3-working
firequery-jquery-1 9 1-not-working

@darwin
Copy link
Member

darwin commented Dec 28, 2013

I'm sorry guys, I'm not going to fix it anytime soon. I spend most of my time in XCode these days...

@atwright147
Copy link

Oh dear.

@darwin any chance finding a new maintainer or an explanation of how this might be fixed so someone else could add this?

@darwin
Copy link
Member

darwin commented Dec 30, 2013

The problem here is that jQuery developers keep changing $.data functionality quite frequently. At some point they decided to remove internal jQuery book keeping from $.data and changed the implementation multiple times since then.

I think we should provide events inspection as a separate feature not really as a side-effect of data display. I don't know if jQuery has any public API to retrieve this information. If the API is private it will be prone to breaking between versions.

@atwright147 Feel free to dig into sources and implement it :)

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

3 participants