Lots of updates
This commit is contained in:
parent
e3cfff8310
commit
39e7af6238
454 changed files with 221168 additions and 36622 deletions
|
|
@ -8,7 +8,7 @@ define([
|
|||
], function( jQuery, indexOf, rneedsContext ) {
|
||||
|
||||
var rparentsprev = /^(?:parents|prev(?:Until|All))/,
|
||||
// methods guaranteed to produce a unique set when starting from a unique set
|
||||
// Methods guaranteed to produce a unique set when starting from a unique set
|
||||
guaranteedUnique = {
|
||||
children: true,
|
||||
contents: true,
|
||||
|
|
@ -88,8 +88,7 @@ jQuery.fn.extend({
|
|||
return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched );
|
||||
},
|
||||
|
||||
// Determine the position of an element within
|
||||
// the matched set of elements
|
||||
// Determine the position of an element within the set
|
||||
index: function( elem ) {
|
||||
|
||||
// No argument, return index in parent
|
||||
|
|
@ -97,7 +96,7 @@ jQuery.fn.extend({
|
|||
return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;
|
||||
}
|
||||
|
||||
// index in selector
|
||||
// Index in selector
|
||||
if ( typeof elem === "string" ) {
|
||||
return indexOf.call( jQuery( elem ), this[ 0 ] );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue