[Developers] mjt.for
Nick Thompson
nix at metaweb.com
Fri Jun 22 17:21:41 UTC 2007
this should already work for javascript's built-in Array.
jQuery result sets aren't true arrays though, which might be
what you're seeing?
the next release will treat jQuery "arrays" as Array for
mjt.for= iteration purposes. if there other pseudo-Array
objects that should behave like arrays in mjt.for=, i can
hopefully add them too...
nick
Dae Park wrote:
> Feature request:
>
> Can you extend mjt.for="k,v in object" to arrays as well, like jQuery's
> $.each(array, function(i,n){})?
>
> -dae
More information about the Developers
mailing list