Bug Tracker

Modify

Ticket #8382 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

prevAll and prevUntil reverse order is not documented

Reported by: checat Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.5.1
Keywords: Cc:
Blocking: Blocked by:

Description

In #6178 and #5994 it is noted that order of elements returned by parents(), prevAll(), prevUntil() is intentionally reverse to document order

Currently it is documented in  http://api.jquery.com/parents/ , but not documented in  http://api.jquery.com/prevAll/ and  http://api.jquery.com/prevUntil/

Change History

comment:1 Changed 2 years ago by addyosmani

  • Keywords needsdocs added
  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to selector

Thanks for giving us the heads up regarding this. Adding needsdocs.

comment:2 Changed 2 years ago by addyosmani

  • Keywords needsdocs removed
  • Status changed from open to closed
  • Resolution set to fixed

I've updated the prevAll() and prevUntil() documentation to reflect the correct order returned and Karl's further clarified it so they should be good to go now.

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.