Bug Tracker

Opened 15 years ago

Closed 12 years ago

#2192 closed bug (fixed)

strict ~= selector

Reported by: cloudream Owned by: flesler
Priority: minor Milestone: 1.3
Component: selector Version: 1.2.2
Keywords: Cc: cloudream
Blocked by: Blocking:

Attachments (2)

selector.diff (557 bytes) - added by cloudream 15 years ago.
patch for /src/selector.js
2192.diff (5.0 KB) - added by nathanhammond 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by cloudream

Attachment: selector.diff added

patch for /src/selector.js

comment:1 Changed 15 years ago by davidserduke

Type: enhancementbug

comment:2 Changed 14 years ago by flesler

Cc: cloudream added
Component: coreselector
need: ReviewPatch
Owner: set to flesler
Status: newassigned

Changed 14 years ago by nathanhammond

Attachment: 2192.diff added


comment:3 Changed 14 years ago by nathanhammon

I've attached a patch that not only adds support for ~=, but also |=. The only compromise for more common selectors is on file size, and for efficiency, the worst one (|=) gets tested last.

The patch includes updates to the test suite to add tests for these new selectors and updates existing tests where results didn't match anymore.

This should close #2192, #2640, and #2856.

comment:4 Changed 12 years ago by jitter

Resolution: fixed
Status: assignedclosed

Correct me if I'm wrong but this should be fixed since approx. jQuery 1.3

Note: See TracTickets for help on using tickets.