[jQuery] Bug: Regression in jQuery 1.01: selecting children with '>'

[jQuery] Bug: Regression in jQuery 1.01: selecting children with '>'


Hi,
with jQuery version 1.01 I cannot select children if I write something
like this:
$('#someId>div>div')
or $('/dashboard/locations/location')
This also does not work anymore (I'm using that in the tabs plugin):
$(this).find('>div')
The '>' selector seems to be pretty much broken... The problem is caused
by a closing bracket that has moved in the find function. In 1.01 it
looks like this:
if ( !foundToken ) {
...
if ( t ) {
    var val = jQuery.filter(t,r);
    ret = r = val.r;
    t = jQuery.trim(val.t);
}
}
Working was:
if ( !foundToken ) {
...
}
if ( t ) {
var val = jQuery.filter(t,r);
ret = r = val.r;
t = jQuery.trim(val.t);
}
Upgrading from 226 to 1.0 and than to 1.01 was really a pain... :-(
-- Klaus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/