Using clojurescript 3842d3f9e0d68853077117a9192222e93e169079

Trying to do the simplest case of a clojurescript browser repl:

running clojurescript/script/repl, then

Taken straight from the documentation:

(require '[cljs.repl :as repl])(require '[cljs.repl.browser :as browser])  ;; 
require the browser implementation of IJavaScriptEnv(def env 
(browser/repl-env)) ;; create a new environment(repl/repl env) ;; start the REPL

Next after trying to connect with browser at url http://localhost:9000/repl 
I get an error from google chrome's console.

Uncaught ReferenceError: clojure is not defined

<html><head><meta charset="UTF-8"></head><body>
<script type="text/javascript"></script><script type="text/javascript">
clojure.browser.repl.client.start("http://localhost:9000";);
Uncaught ReferenceError: clojure is not defined
</script></body></html>

Note that the rhino repl works fine.

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