mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 05:10:05 +02:00
18 lines
218 B
JavaScript
18 lines
218 B
JavaScript
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;
|
|
};
|
|
|
|
} );
|