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 On Mon, Dec 3, 2012 at 10:05 PM, Brent Millare <brent.mill...@gmail.com>wrote: > At the moment, all I am doing is dragging and dropping the html file into > the browser, which contains the compiled clojurescript (js) which looks > like this > > view.html > > ... compiled cljs stuff ... > <body> > <script>foo.main();</script> > </body> > ... > > Where foo.cljs is: > (ns foo (:require [clojure.browser.repl])) > (defn main [] (clojure.browser.repl/connect "http://localhost:9000/repl")) > > hence, the url is like > file:///home/.../out/view.html > > Again only the error message says repl:3 > > > On Monday, December 3, 2012 4:29:43 PM UTC-5, David Nolen wrote: >> >> It sounds like you are trying to navigate to >> http://localhost:9000/replthough right? You should be navigating to >> http://localhost:9000/ >> >> >> >> -- > 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