Blog posts of dubious quality, like this one, http://jquery-howto.blogspot.com/2009/07/identifying-locating-mouse-position-in.html , have frequently peddled this bit of info.
Again, I'm totes in favour of this happening, but am just mentioning that this type of code does exist. Support for $().ready() makes a big difference... On Dec 13, 9:42 pm, aHeckman <aaron.heckm...@gmail.com> wrote: > I like the change. even if it breaks some code here and there. The > previous behavior was too much "magic" and confusing to any developer > that hasn't peered under the covers. > > On Dec 13, 8:24 pm, John Resig <jere...@gmail.com> wrote: > > > > > The most frequent case I've seen is $().ready() (which still works and > > I plan on continuing to make work, at least for the time being). I > > haven't really seen other cases being used in the wild - do you have > > any examples? > > > --John > > > On Sun, Dec 13, 2009 at 8:06 PM, ajpiano <ajpi...@gmail.com> wrote: > > > A recent commit > > > -http://github.com/jquery/jquery/commit/04524287d3e0112deae570ff9247c7... > > > - changed the behaviour of $() from $(document) to $([]). > > > > This is a change that I can truly jibe with, and I think the behaviour > > > makes sense. No one likes having to do $([]) to create an empty jQuery > > > object. Unfortunately, no change for 1.4 has made me think "will > > > break a lot of people's code" like this one. For some inane reason, > > > people (and a lot of tutorials) really started using the $() shortcut, > > > so the change kind of makes me somewhat uneasy. > > > > Would love to hear any other perspectives on this. Should the change > > > stay in and be loudly shouted as a potential 1.4 transition issue, or > > > rolled back? > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > > "jQuery Development" group. > > > To post to this group, send email to jquery-...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > jquery-dev+unsubscr...@googlegroups.com. > > > For more options, visit this group > > > athttp://groups.google.com/group/jquery-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.