summaryrefslogtreecommitdiff
path: root/bower_components/jquery/src/traversing.js
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2015-01-22 22:36:20 -0500
committerThomas Park <thomas@thomaspark.me>2015-01-22 22:36:20 -0500
commit25f57ee1fe9773b08d95d5f7d6ba93e2db048f8f (patch)
tree8e4448eed6bce0fa1288321e18c2b4675b8cb393 /bower_components/jquery/src/traversing.js
parent0a7f9e5bb684c185d309d1ac1079dfb8b36af33c (diff)
update bootstrap to 3.3.2
Diffstat (limited to 'bower_components/jquery/src/traversing.js')
-rw-r--r--bower_components/jquery/src/traversing.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/bower_components/jquery/src/traversing.js b/bower_components/jquery/src/traversing.js
index 943d16cb..d9ff0aea 100644
--- a/bower_components/jquery/src/traversing.js
+++ b/bower_components/jquery/src/traversing.js
@@ -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 ] );
}