It's because jQuery has been changed to no longer use "eval" (partly
to be compatible with Adobe AIR).

Karl Rudd

On Feb 14, 2008 10:25 AM, Ariel Flesler <[EMAIL PROTECTED]> wrote:
>
> Yeah.. same happened to me with map.. I had a ...
> $.map(Array(some_number),'new Image')... and it broke down since 1.2.2
> but I suppose that wasn't specified in the documentation so no one
> assured it'd stay.. or was it ?
>
> Ariel Flesler
>
> On 13 feb, 17:18, jody <[EMAIL PROTECTED]> wrote:
> > Using the following method no longer works in version 1.2.3 (stealing
> > examples from documentation):
> >
> > arr = jQuery.grep(arr, "a != 9");
> >
> > Debugging was showing an undefined function using the above method.
> > Rolling back to 1.2.2, all works fine with the above. Anticipating
> > using the new ui.jQuery package, I've modified my code to use a
> > version of this method which works with 1.2.3:
> >
> > arr = jQuery.grep(arr, function(n, i){
> >       return (n != 5 && i > 4);
> >     });
> >
> > Was dropping the first method intentional for this jQuery release?
> >
> > -jody
>

Reply via email to