Initial commit
This commit is contained in:
commit
b953a6c158
326 changed files with 76065 additions and 0 deletions
15
bower_components/jquery/src/traversing/var/siblings.js
vendored
Normal file
15
bower_components/jquery/src/traversing/var/siblings.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
define( function() {
|
||||
|
||||
return function( n, elem ) {
|
||||
var matched = [];
|
||||
|
||||
for ( ; n; n = n.nextSibling ) {
|
||||
if ( n.nodeType === 1 && n !== elem ) {
|
||||
matched.push( n );
|
||||
}
|
||||
}
|
||||
|
||||
return matched;
|
||||
};
|
||||
|
||||
} );
|
Loading…
Add table
Add a link
Reference in a new issue