Hi Dimitry,

Have you tried http://localhost:8080/development

?

--
Pierre




2012/5/22 D.Bushenko <d.bushe...@gmail.com>

> Hi all,
>
> I'm trying to run clojurescript repl connected to browser and have failed
> in all my attempts. I'm running the "clojurescript/samples/repl" project
> provided with the clojurescript distribution. I'm following the README.md
> step by step and doing the following:
>
> dim@tarantoga:~/clojure/clojurescript/samples/repl$ ../../script/repl
> Clojure 1.4.0
> user=> (use 'cljs.closure)
> nil
> user=> user=> (def opts {:output-to "main.js" :output-dir "out"})
> #'user/opts
> user=> (build "src" opts)
> nil
> user=> (require '[cljs.repl :as repl])
> nil
> user=> (require '[cljs.repl.browser :as browser])
> nil
> user=> (def env (browser/repl-env))
> #'user/env
> user=> (repl/repl env)
> "Type: " :cljs/quit " to quit"
> ClojureScript:cljs.user> (+ 1 1)
>
> Then I open the file clojurescript/samples/repl/index.html in my Firefox
> 12 and waiting for the result of evaluation of the last expression "(+ 1
> 1)". Nothing happens, the repl just hangs.
>
> If I navigate to localhost:9000 everything goes OK, the repl works.
>
> What I'm doing wrong and how to connect the repl to the web page?
>
> P.S. Using java version "1.6.0_32"
> Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
>
> Dmitry
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to