I solved the problem
1. There was an error in cljs code :)
2. You should open http://localhost:9000 because it opens index.html file 
and it should be index.html file. 
As experiment i renamed that to repl.html opened 
http://localhost:9000/repl.html and got xpc error.

So to make things easier i now use lein with cljsbuild plugin.
And I have to install some syntaxis checker to my sublime text 2 ))

Thanks for help

четверг, 6 сентября 2012 г., 18:29:37 UTC+4 пользователь goracio написал:
>
> Hi
> I try to follow this guide 
> https://github.com/clojure/clojurescript/wiki/The-REPL-and-Evaluation-Environments
> and get an error 
> No 'xpc' param provided to chid iframe
>
> when loading http://localhost:9000/repl
> and my clojurescript repl hangs 
>
> Clojure 1.4.0
> 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)
>
>
> what could be wrong with this ?
>

-- 
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