UNPKG

aurelia-bootstrap

Version:
17 lines (12 loc) 210 B
/* */ define( function() { return function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; }; } );