Removed support for the XPath [n] - we weren't doing it right, and it would actually require a lot of code to "do it right" (much more than what the feature is immediately worth). See ticket #995.
This commit is contained in:
parent
fce2bdf7ff
commit
09a2e48f45
|
@ -64,7 +64,7 @@ jQuery.extend({
|
||||||
},
|
},
|
||||||
_prefix: "z=a[m[3]];if(!z||/href|src/.test(m[3]))z=jQuery.attr(a,m[3]);"
|
_prefix: "z=a[m[3]];if(!z||/href|src/.test(m[3]))z=jQuery.attr(a,m[3]);"
|
||||||
},
|
},
|
||||||
"[": "parseInt(m[2])?jQuery.nth(a.parentNode.firstChild,parseInt(m[2]),'nextSibling',a)==a:jQuery.find(m[2],a).length"
|
"[": "jQuery.find(m[2],a).length"
|
||||||
},
|
},
|
||||||
|
|
||||||
// The regular expressions that power the parsing engine
|
// The regular expressions that power the parsing engine
|
||||||
|
|
Loading…
Reference in a new issue