On Apr 13, 6:25 pm, mr_justin <gro...@jperkins.otherinbox.com> wrote:
> > This is a regression.
>
> OK, that's good to hear.
>
> > so `$A('one', 'two', 'three')`, as in your example, should
> > produce - ['o', 'n', 'e'].
>
> That doesn't seem right. In the past, it has always produced a 3-item
> array out of the arguments, not the characters of the first argument.
> Essentially behaving just like a normal square bracket-declared array.
> I used this technique quite a bit because it was easy to go from
> ['one', 'two', 'three'] to $A('one', 'two', 'three').

At least 1.6.0.3 has already been operating on `iterable` which is a
first argument of `$A`. Do you remember which version was flattening
all of the arguments?

--
kangax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to