-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christophe Porteneuve wrote:
> Marius Feraru a écrit :
>> $$('#foo-id .foo-class > .subbla-class')
> Except $$ in 1.5.0 does not yet implement >...  You'll have to wait for 
> its rewrite to be released.
Uh-oh, OK, OK :))

Then I guess he will have to settle to:

$$('#foo-id .foo-class').invoke('immediateDescendants').flatten().findAll(
 function(el){ return el.hasClassName('subbla-class') }
);

ugly ;-)

- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFF2JujtZHp/AYZiNkRAmDXAKC5zDafUIuzvswjRo4YEMUAnRmYBgCcCTou
tq/UDWQmm3qjJxs+MgRdWyA=
=sFMU
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to