Modify ↓
Ticket #2111 (closed enhancement: fixed)
allow breaking out of $.each() for objects
| Reported by: | scott.gonzalez | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.2 |
| Component: | core | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Returning false inside the function of $.each() breaks out of the iteration for arrays, but not objects.
Attachments
Change History
Changed 5 years ago by scott.gonzalez
-
attachment
each.patch
added
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

patch to allow breaking out of $.each() for objects