Bug Tracker

Opened 15 years ago

Closed 15 years ago

#3033 closed enhancement (fixed)

Useless check ?

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

Description

Line 269 of core.js:

return this.pushStack( /[^+>] [^+>]/.test( selector ) || selector.indexOf("..") > -1 ?

It tests for the '..' selector. We dropped this option long ago. Though.. some people might be using compatibility plugins (I'm actually doing that in a project).

We could remove this part and add it to a future compatibility plugin.

Change History (3)

comment:1 Changed 15 years ago by flesler

Status: newassigned

comment:2 Changed 15 years ago by john

Yep, we can definitely drop this for 1.3.

comment:3 Changed 15 years ago by flesler

Resolution: fixed
Status: assignedclosed

Applied at [5775].

Note: See TracTickets for help on using tickets.