Here:
http://gist.github.com/638585

Basically replaced the old $each with a new one that supports Break (will
only work for 1.3).

example:
http://jsfiddle.net/ariehg/bBKJm/

On Thu, Oct 21, 2010 at 2:34 PM, Rolf -nl <plentyofr...@gmail.com> wrote:

> yes, nice n dirty with an exception..hehe..
> or use a while and a flag to stop the while loop (when you find a
> result or something)
>
> On Oct 21, 2:31 pm, אריה גלזר <arieh.gla...@gmail.com> wrote:
> > No good way of doing it. I'm working on a nice workaround for it, but in
> the
> > mean time, the simplest way is to throw an exception
> >
> > On Thu, Oct 21, 2010 at 2:19 PM, stratboy <em...@reghellin.com> wrote:
> > > Hi! Is there a way to stop an each loop just like I can do with a for
> > > loop by using a break statement?
> >
> > --
> > Arieh Glazer
> > אריה גלזר
> > 052-5348-561
> > 5561
>



-- 
Arieh Glazer
אריה גלזר
052-5348-561
5561

Reply via email to