Skip to content

Commit

Permalink
Make example easier to work with
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjakubowski committed Feb 16, 2015
1 parent 7a42c89 commit 737a73a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions weasel-example/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
[org.clojure/clojurescript "0.0-2814"]
[weasel "0.6.0-SNAPSHOT"]]

:repl-options {:welcome (println "Run (start-weasel) to start a Weasel REPL.")
:init (do
(require 'weasel.repl.websocket)
(defn start-weasel
[& opts] (cemerick.piggieback/cljs-repl
:repl-env (apply weasel.repl.websocket/repl-env opts))))}
:source-paths ["src"]
:profiles {:dev {:dependencies [[com.cemerick/piggieback "0.1.5"]]
:plugins [[lein-cljsbuild "1.0.4"]]
Expand Down

0 comments on commit 737a73a

Please sign in to comment.