lighttable

How can I create a basic ClojureScript Hello World app in Lighttable?

天大地大妈咪最大 提交于 2019-12-02 21:59:30
The documentation seems quite sparse in LightTable. I want to create a very bare bones ClojureScript web application in LightTable as a starting point to build on. I have the Instarepl in Clojure working fine, and then I create a new file called dummy.cljs containing the following: (ns dummy) (js/alert "Hello lighttable") How can I run this? Update I have figured this out now, and I will post a video on how todo it as it is quite visual. Update 2 Here is the video: http://www.youtube.com/watch?v=GZ6e0tKqYas you should first create a project via lein( https://github.com/technomancy/leiningen )

I can't find a light table cheat sheet

不羁岁月 提交于 2019-11-28 19:17:09
问题 Does anyone have a cheatsheet for LightTable, even better for the paredit plugin, it seems my google-fu is not up to finding one? 回答1: I don't think a general cheat sheet for LightTable exists yet! But for the paredit plugin...I hope the following helps Paredit Commands :paredit.unwrap.parent (a b (c | d) e) => (a b c | d e) :paredit.grow.left (a b (c | d) e) => (a (b c | d)) :paredit.grow.right (a b (c | d) e) => (a b (c | d e)) :paredit.shrink.left (a b (c | d) e) => (a b c | (d) e)

How can I install Leiningen packages behind a firewall?

蓝咒 提交于 2019-11-27 07:28:27
问题 I use a local library to do some development, but the firewall prevents alot of internet sites. Is there a way to download artifacts manually? My project.clj is: https://github.com/zubairq/coils/blob/master/project.clj? Update From the comments given I am understanding that the steps to take are: 1) Install Maven 2) Find out which jars are in my project (How can I do this based on my project.clj?) 回答1: Dependency Tree In order to figure out which jars your project needs you can do: $ lein