Hi Kangax,

There is no need to "extend" arrays...

$A is useful to transform collections (such as DOM nodes, or arguments
of an function) into an array.

Nothing else.

What's going to be missing however is actually turning the element ids
into elements...

You'll need to run them through $() at some point if you want to be
able to invoke observe on them.

Best,

Tobie

On Jul 20, 10:51 am, kangax <[EMAIL PROTECTED]> wrote:
> because $w extends an array?
>
> Otherwise you would still have to do smth like
>
> $A([blah1, blah2, blah3]).each(...)
> --
> View this message in 
> context:http://www.nabble.com/Observing-the-same-behaviour-on-multiple-elemen...
> Sent from the RubyOnRails Spinoffs mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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