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