Still getting the same error regardless. 1. creating index.html (with compiled cljs code and call to connect) and putting in clojurescript directory 2. starting up clojurescript clojure repl with ./script/repl 3. Running the clojurescript repl with: (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 4. Point browser to "http://localhost:9000"
I get the "clojure is not defined error", and clojurescript repl is still unresponsive (since connection wasn't completed). The compiling step is fine and the clojurescript code before the call to connect works. On Monday, December 3, 2012 6:22:24 PM UTC-5, David Nolen wrote: > > file:// urls don't work anymore due to changes in the Google Closure > Library. You need to point your browser to http://localhost:9000/, by > default it looks for index.html. > > David > > -- 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