corrade-nucleus-nucleons
/pack-rat/003_pack_rat/pack-rat/bower_components/jquery/src/traversing/var/siblings.js |
---|
@@ -0,0 +1,17 @@ |
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; |
}; |
} ); |