binaryage/firequery

data events not displaying with jquery 1.9.1 ++

spoutnikz opened this issue · 4 comments

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

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

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

Oh dear.

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

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 :)