UNPKG

@unclepaul/allcountjs

Version:

The open source framework for rapid business application development with Node.js

18 lines (12 loc) 235 B
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; }; } );