Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
hores-external
/
1560ca1e5570c4ae60fd1ac62ff012addf6624b7
/
.
/
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
;
};
}
);