Skip to content

Instantly share code, notes, and snippets.

@cichli
Created March 21, 2015 19:14
Show Gist options
  • Save cichli/eb5203748ab29c30efa6 to your computer and use it in GitHub Desktop.
Save cichli/eb5203748ab29c30efa6 to your computer and use it in GitHub Desktop.
cljs-repl-example
; CIDER 0.9.0snapshot (package: 20150320.2207) (Java 1.8.0_05, Clojure 1.6.0, nREPL 0.2.6)
WARNING: CIDER requires nREPL 0.2.7 to work properly
user> (cemerick.piggieback/cljs-repl :repl-env (cemerick.austin/exec-env))
Browser-REPL ready @ http://localhost:49215/9931/repl/start
Type `:cljs/quit` to stop the ClojureScript REPL
nil
cljs.user> (+ 1 1)
2
cljs.user>
(defproject cljs-repl-example "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-3126"]
[com.cemerick/piggieback "0.1.6-SNAPSHOT"]]
:plugins [[com.cemerick/austin "0.1.6"]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment