Bug Tracker

Modify

Ticket #7420 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 3 years ago

Implement .child() shorthand for .children()

Reported by: evo Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocking: Blocked by:

Description

Child is shorter than children and we already can see child in places like CSS selectors like first-child, nth-child etc.

Change History

comment:1 Changed 3 years ago by rwaldron

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

Wrong implied pluralization.

child() implies one, children() are many.

But, here you go anyway:

 http://jsfiddle.net/rwaldron/WsKHC/1/

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.