Show HN: CLJS Fiddle – ClojureScript
cljsfiddle.com
cljsfiddle.com
[1] - www.lambdax.io
This is definitely needed for the community and I'm very glad to see something like this pop up.
A few missing items for those who wish to share code on StackOverflow, for example: external stylesheets and a way to share the code you've written.
Not everyone uses Regent, so perhaps something more vanilla with ClojureScript + Hiccup, but I see how this could devolve into a rabbit hole.
Overall, a very solid start and I hope this continues.
Some ideas about next steps include adding parinfer[1], the ability to save cljsfiddles, or $YOUR_SUGGESSTION.
I know this is your own project, and adding parinfer could be useful, but I wonder if collaborating with proto-repl[0][1] to add cljs support to Atom could be something you'd be interested in.
The fiddle is very useful for sharing code snippets, but better clojurescript support in Atom would be a big benefit for me.
[:div
[:p "Hit Run to get a random number:"]
[:h1 (+ 1 (Math.floor (* 10 (rand))))]]
If you weren't previously familiar with the syntax I figured this might help.No need to run through the ClojureScript "Quick Start"—this is just "Start". :) Bravo!
http://cljsfiddle.com/#gist=d0c3121fb7083f066273
Yay!