firequery icon indicating copy to clipboard operation
firequery copied to clipboard

data events not displaying with jquery 1.9.1 ++

Open spoutnikz opened this issue 12 years ago • 4 comments
trafficstars

Hi there!

I saw the issue https://github.com/binaryage/firequery/issues/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

spoutnikz avatar Jul 15 '13 11:07 spoutnikz

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

atwright147 avatar Dec 27 '13 21:12 atwright147

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

darwin avatar Dec 28 '13 00:12 darwin

Oh dear.

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

atwright147 avatar Dec 28 '13 17:12 atwright147

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

darwin avatar Dec 30 '13 16:12 darwin