Skip to content

Instantly share code, notes, and snippets.

@duck1123
Forked from anonymous/gist:803534eb6496ffd7c36d
Last active December 20, 2015 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duck1123/2b69f37c621d8cfe03c5 to your computer and use it in GitHub Desktop.
Save duck1123/2b69f37c621d8cfe03c5 to your computer and use it in GitHub Desktop.
(let [matched-colors (cs/intersection (set colors) (set t))]
;; verify that you're getting the items you expect
(.info js/console matched-colors)
(doseq [element matched-colors]
(dommy/set-attr! element :checked)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment