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