comparison default/node_modules/jquery/src/traversing/var/siblings.js @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1d038bc9b3d2
1 define( function() {
2
3 "use strict";
4
5 return function( n, elem ) {
6 var matched = [];
7
8 for ( ; n; n = n.nextSibling ) {
9 if ( n.nodeType === 1 && n !== elem ) {
10 matched.push( n );
11 }
12 }
13
14 return matched;
15 };
16
17 } );