Advertisement
Guest User

Untitled

a guest
Feb 1st, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. cond(
  2. [isString(dom), of(document.querySelectorAll(dom))],
  3. [and(isDom(dom), () => !!selector), of(dom.querySelectorAll(selector))],
  4. [isDom(dom), curry2(select)(dom)],
  5. [always(true), wrongType]
  6. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement