Modify ↓
Ticket #12082 (closed bug: fixed)
.find() POS selector no longer working in 1.8b2
| Reported by: | Matt Hall <bizear@…> | Owned by: | gibson042 |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.8 |
| Component: | selector | Version: | 1.8b2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Using .find() in combination with a single pseudo selector is broken and throws the following error:
results is null: return results.length ? fn( results, argument, not ) : [];
Fiddle can be found here: http://jsfiddle.net/matthall/GdQUu/1/
Change History
comment:1 Changed 10 months ago by dmethvin
- Priority changed from undecided to blocker
- Status changed from new to open
- Component changed from unfiled to selector
- Milestone changed from None to 1.8
comment:2 Changed 10 months ago by gibson042
- Owner set to gibson042
- Status changed from open to assigned
comment:3 Changed 10 months ago by Dave Methvin
- Status changed from assigned to closed
- Resolution set to fixed
Update Sizzle to fix #12082, #12087.
Changeset: f70a696598f14917e49dc108271788e2ec2f6587
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.

Interesting, because adding an explicit * fixes the problem: http://jsfiddle.net/GdQUu/2/