Bug Tracker

Opened 9 years ago

Closed 9 years ago

#7420 closed enhancement (wontfix)

Implement .child() shorthand for .children()

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

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 (1)

comment:1 Changed 9 years ago by Rick Waldron

Resolution: wontfix
Status: newclosed

Wrong implied pluralization.

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

But, here you go anyway:

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

Note: See TracTickets for help on using tickets.