The difference was not intentional. The intention in keeping them separate is to avoid penalizing one (or both) of them by needing a second function call. However, considering these methods just grew in complexity compared to their current version... I'm more inclined to agree. That is unless the performance difference is worth the duplication? I haven't checked.
-- Brandon Aaron On Mon, May 18, 2009 at 7:03 PM, Dave Methvin <[email protected]> wrote: > >> It would be adding the following to the current code. > >> ... > > The visible says /^tr$/i.test( elem.tagName ) but hidden says /tr/ > i.test( elem.tagName ), was that intentional? > > Maybe the function for filters.visible could just call and invert the > function for filters.hidden, or vice versa? That would avoid the > application of DeMorgan's law. :) > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
