levand/domina — pull request #69 by magomimmo (2013-11-18 14:46:05+00:00)
Title: Austin

I Creighton, I had the chance to add austin to domina, so I did it.

I started from the previous "restart" branch and then progressively added all the needed things to make domina work with austin brepl set up.

To test it:

```bash
lein do compile, repl
```

The repl will be initialized with the `domina.server`namespace. Run the ring server as follows:

```clj
domina.server=> (run)
2013-11-18 15:36:53.031:INFO:oejs.Server:jetty-7.6.8.v20121106
2013-11-18 15:36:53.060:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
#
domina.server=>
```

Then initialize the brepl as follows:

```clj
domina.server=> (def repl-env (reset! cemerick.austin.repls/browser-repl-env
#_=> (cemerick.austin/repl-env)))
Browser-REPL ready @ http://localhost:57505/7028/repl/start
#'domina.server/repl-env
domina.server=>
```

Next, turn your Clojure REPL into a ClojureScript REPL as follows:

```clj
omina.server=> (cemerick.austin.repls/cljs-repl repl-env)
Type `:cljs/quit` to stop the ClojureScript REPL
nil
cljs.user=>
```

Now, just visit [localhost:8080][1] to activate the brepl connection. You can now evaluate CLJS forms in the bREPL.

My best

[1]: http://localhost:8080/