> It is as understandable to consider that an empty string signifies an > empty selector, so we return the current object, which is document, as > to consider that an empty html string.
mmmkay, but that begs the question why doesnt isn't this $('', document); // [ document ] then equivalent to $(document).find(''); // [ ] If $() is defined to always return an empty collection there's no need to distinguish between '' the selector and '' the html. (same should go for other falsy values IMO) -- Már --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@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 -~----------~----~----~----~------~----~------~--~---