Files
codey.lol/public/scripts/jquery/src/traversing/var/siblings.js

18 lines
218 B
JavaScript
Raw Normal View History

2025-06-18 07:46:59 -04:00
define( function() {
"use strict";
return function( n, elem ) {
var matched = [];
for ( ; n; n = n.nextSibling ) {
if ( n.nodeType === 1 && n !== elem ) {
matched.push( n );
}
}
return matched;
};
} );