Hi,

That's already achieved using Element#select (formerly,
Element#getElementsBySelector).

For exemple:

    $('foo').select('div.bar', 'a.baz');

is strictly equivalent to:

    Selector.findChildElements($('foo'), 'div.bar', 'a.baz');

which is what your modified version of $$ wants to achieve.

In this regard, I don't see a compelling reason to complexify
Prototype's API by adding a functionality that's already present in a
clearer and more OO way.

Regards,

Tobie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to