Bug Tracker

Modify

Ticket #2111 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

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

each.patch Download (1.1 KB) - added by scott.gonzalez 5 years ago.
patch to allow breaking out of $.each() for objects

Change History

Changed 5 years ago by scott.gonzalez

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

comment:1 Changed 5 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN rev [4447].

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.