OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new repo
[bytom/vapor.git]
/
tools
/
side_chain_tool
/
web
/
node_modules
/
jquery
/
src
/
traversing
/
var
/
siblings.js
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
} );