parent
db621dd8dd
commit
f12df1df85
1 changed files with 1 additions and 5 deletions
6
src/jquery/jquery.js
vendored
6
src/jquery/jquery.js
vendored
|
@ -1648,12 +1648,8 @@ jQuery.extend({
|
||||||
">|/", "jQuery.sibling(a.firstChild)",
|
">|/", "jQuery.sibling(a.firstChild)",
|
||||||
"\\+", "jQuery.sibling(a).next",
|
"\\+", "jQuery.sibling(a).next",
|
||||||
"~", function(a){
|
"~", function(a){
|
||||||
var r = [];
|
|
||||||
var s = jQuery.sibling(a);
|
var s = jQuery.sibling(a);
|
||||||
if ( s.n > 0 )
|
return s.n >= 0 ? s.slice(s.n+1) : [];
|
||||||
for ( var i = s.n; i < s.length; i++ )
|
|
||||||
r.push( s[i] );
|
|
||||||
return r;
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue