[jquery-dev] Re: Why use jQuery.isObject in jQuery.extend

2009-11-07 Thread DBJDBJ
For IE, isObject(), is perhaps not that trivial ... DBJ -- 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...

[jquery-dev] Re: Will the live() method be improved in 1.4?

2009-11-07 Thread Robert Katić
oops: "evaluated without context" On Nov 8, 12:48 am, Robert Katić wrote: > I detect only now that in closest method the selector is evaluated > without selector. > I am not sure which context is more correct: (context || this.context) > or it have to be a document? > > PS: It is not completely c

[jquery-dev] Re: Will the live() method be improved in 1.4?

2009-11-07 Thread Robert Katić
I detect only now that in closest method the selector is evaluated without selector. I am not sure which context is more correct: (context || this.context) or it have to be a document? PS: It is not completely clear to me why selectors with positions can not be handled by multiFilter in this situa

[jquery-dev] Re: Possible bug in node.attr()

2009-11-07 Thread ml1
Uhmm, nevermind. -- 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, vi

[jquery-dev] Possible bug in node.attr()

2009-11-07 Thread ml1
Imagine I have a form that contains this: The following query returns "1" as expected: $($('input[class="myclass"]')[0]).attr('value') But if you surround the "1" value in brackets like so: The same query returns the empty string. All the other attributes of the input work fine

Re: [jquery-dev] Re: Will the live() method be improved in 1.4?

2009-11-07 Thread John Resig
I've already landed the commits - looks great - thanks! (I'll close the ticket once my network stops flaking out.) --John On Sat, Nov 7, 2009 at 5:47 PM, Robert Katić wrote: > I opened a ticket: http://dev.jquery.com/ticket/5470 > with link on commit. > > Commit also includes context inside li

[jquery-dev] Re: Will the live() method be improved in 1.4?

2009-11-07 Thread Robert Katić
I opened a ticket: http://dev.jquery.com/ticket/5470 with link on commit. Commit also includes context inside liveHandler (it is a too small change to make a separate commit). Component is "unfiled". Please tell me if I made mistakes opening this ticket. On Nov 6, 3:01 pm, John Resig wrote: > >

[jquery-dev] Re: Binding .live() to document.body

2009-11-07 Thread John Resig
Also, landing the change will fix this bug: http://dev.jquery.com/ticket/3861 (where right and middle clicks also show up in live) --John On Sat, Nov 7, 2009 at 5:14 PM, John Resig wrote: > This has been discussed before but I was just curious if this would > affect anyone negatively. I'd lik

[jquery-dev] Binding .live() to document.body

2009-11-07 Thread John Resig
This has been discussed before but I was just curious if this would affect anyone negatively. I'd like to make this change so that less bubbling has to occur (both documentElement and document no longer have to get hit). Roughly, the line in the .live implementation would end up being changed from

Re: [jquery-dev] Re: ajaxComplete doesn't fire on 404 (should it?)

2009-11-07 Thread John Resig
Ah, great - thanks for the clarification and patch! --John On Sat, Nov 7, 2009 at 7:26 AM, Mr Speaker wrote: > After some more testing I realised it was not so serious - it only > occurred when 404ing from the local filesystem. This doesn't actually > generate a 404, but an NS_ERROR_DOM_BAD_UR

[jquery-dev] Re: Will the live() method be improved in 1.4?

2009-11-07 Thread stephb...@googlemail.com
To handle click delegation I took the approach of enhancing the click event using the special events framework. This might be a slight tangent to this thread, but it does address many of the problems discussed here. Here's the code: http://webdev.stephband.info/events/click/js/jquery.event.click

[jquery-dev] Re: watching 1.4 progress

2009-11-07 Thread lrbabe
Great news! On Nov 7, 6:43 am, John Resig wrote: > Thanks for the kind words, Chris, I appreciate it! I'm slowly getting > more organized (figuring out where we stand and what bugs we're > missing) - I hope to push out a really solid release. > > I almost have the new bug tracking system set up (