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