[Proto-Scripty] Re: Select range of array items

2012-01-12 Thread T.J. Crowder
On Jan 12, 7:14 pm, Walter Lee Davis wa...@wdstudio.com wrote:
 Just to point out, the $A( ) wrapper around the slice product was
 there because you can't guarantee an extended array in IE without it.
 Every other browser would be fine.

No, IE allows Prototype to automagically extend arrays just fine. It's
only the DOM element extensions that are not automatic in IE. This
works in IE6, for instance:
http://jsbin.com/afocoy

All that `$A()` does in that code is needlessly duplicate the array.
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com

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



[Proto-Scripty] Re: Select range of array items

2012-01-12 Thread Victor


 automagically


:) 

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/je-nzPkGXDEJ.
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.