UNPKG
istesequi
Version:
latest (1.3.1)
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
Lightweight and intuitive javascript library
github.com/EulaBoyle/istesequi
EulaBoyle/istesequi
istesequi
/
src
/
plugins
/
children
/
children.js
16 lines
(12 loc)
•
273 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** * .children() * * Travel the matched elements one node down *
@return
this Umbrella object */
u.
prototype
.
children
=
function
(
selector
) {
var
self =
this
;
return
this
.
join
(
function
(
node
){
return
self.
slice
(node.
children
); }).
filter
(selector); };