Ticket: http://dev.jquery.com/ticket/5434
On Oct 30, 3:33 pm, John Resig jere...@gmail.com wrote:
This seems reasonable, as well. Can you file a ticket? Thanks.
--John
On Fri, Oct 30, 2009 at 2:06 AM, Robert Katić robert.ka...@gmail.com wrote:
Sorry, I posted an old version of code. Here
Sorry, I posted an old version of code. Here the new one:
jQuery.fn.add = function( selector, context ) {
return this.pushStack( jQuery.unique( jQuery.merge(
this.get(),
typeof selector === string ?
jQuery( selector, context
|| this.context
This seems reasonable, as well. Can you file a ticket? Thanks.
--John
On Fri, Oct 30, 2009 at 2:06 AM, Robert Katić robert.ka...@gmail.com wrote:
Sorry, I posted an old version of code. Here the new one:
jQuery.fn.add = function( selector, context ) {
return this.pushStack(
|| this.context (this.context.ownerDocument || this.context)
There's something -- let's say redundant -- about this line. :-)
-- Scott
(a (b || a)) == a
--
You received this message because you are subscribed to the Google Groups
jQuery Development group.
To post to this group,
On Fri, Oct 30, 2009 at 10:34 AM, Scott Sauyet scott.sau...@gmail.com wrote:
There's something -- let's say redundant -- about this line. :-)
Ignore me. Brain fart.
-- Scott
--
You received this message because you are subscribed to the Google Groups
jQuery Development group.
To post to