Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
hores-external
/
80e3f1aa4815f151c1fb23c6199bdcee0798f7ab
/
.
/
node_modules
/
jquery
/
src
/
traversing
/
var
/
siblings.js
blob: 952629d0c89cb891c220900ad78b8558585f9f53 [
file
] [
log
] [
blame
]
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
;
};
}
);