[jquery-dev] Re: $.data(elem) API changed in 1.4pre ?

2009-10-16 Thread Andrea Giammarchi
Hi Robert, that's just a proof of concept easily re-adaptable for the new jQuery data. Main differences: 1 - rather than primitive number, the expando is associated to a Number instance. This avoids dirty string representation ( specially for those that need/parse directly generated HTML ... in

[jquery-dev] Binding of 'submit' event broken in 1.4

2009-10-16 Thread Mark Gibson
Binding of 'submit' events appears to be broken in 1.4 if data is not supplied. Sorry, in a bit of a rush, so here's the patch: Index: src/event.js === --- src/event.js(revision 6617) +++ src/event.js(working copy)

[jquery-dev] Re: $.data(elem) API changed in 1.4pre ?

2009-10-16 Thread Richard D. Worth
On Wed, Oct 14, 2009 at 1:18 PM, Mark Gibson jollyt...@gmail.com wrote: Thanks John, that makes complete sense, I too am not sure why jQuery UI doesn't use a counter either. Thanks for the patch. Fixed. http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/7e1fe2a53bf0c7d3 -

[jquery-dev] Re: $.data(elem) API changed in 1.4pre ?

2009-10-16 Thread John Resig
Of course, although it would simplify the $.data() implementation (speed performances too) it would breaks compatibility with many existent plugins. However, $.data() in 1.4 will breaks it already... If developers want to switch to this style they're absolutely welcome to (in fact, we already