UNPKG
@kickscondor/umbrellajs
Version:
latest (3.1.2)
3.1.2
3.1.1
Lightweight and intuitive javascript library
umbrellajs.com
kickscondor/umbrella
@kickscondor/umbrellajs
/
src
/
plugins
/
find
/
find.js
7 lines
(6 loc)
•
196 B
JavaScript
View Raw
1
2
3
4
5
6
7
// Find all the nodes children of the current ones matched by a selector
u.
prototype
.
find
=
function
(
selector
) {
return
this
.
map
(
function
(
node
) {
return
u
(selector ||
'*'
, node); }); };