3 ms·
Note that you can use the REPL to interact w/ jQuery: (.-length (js/jQuery "div"))
by swannodette 15y ago
Note that you can use the REPL to interact w/ jQuery:
(.-length (js/jQuery "div"))
- jonase 15y agoor maybe even cljs.user> (.css (js/jQuery "body") "background" "cyan")
- ibdknox 15y agoeven better would be to add a few libs to the classpath ;) Then you could have enfocus, jayq, crate ... https://github.com/ckirkendall/enfocus https://github.com/ckirkendall/enfocus https://github.com/ibdknox/jayq https://github.com/ibdknox/jayq https://github.com/ibdknox/crate https://github.com/ibdknox/crate
- fogus 15y agoYou can use core ClojureScript libs too: (clojure.set/intersection #{:a :b :c 1 2 3} #{:a 1 2})