Raju, This is great that you have found the problem! But is there a way I can connect a REPL to my web-page? What should I do for that? Do I need to load the page through the request to the web-server?
Dmitry вторник, 22 мая 2012 г., 17:26:37 UTC+3 пользователь Raju Bitter написал: > > Ok, you mean if you open the HTML page from disk, the REPL is not > working for you. I can confirm that. > > > There are conflicting instructions in the test.cljs file, and in the > README.md > > https://github.com/clojure/clojurescript/blob/master/samples/repl/src/repl/test.cljs > > " ;; Open the file samples/repl/index.html" > > https://github.com/clojure/clojurescript/blob/master/samples/repl/README.md > "Open http://localhost:9000/ in a browser. When this page is loaded it > will connect to the REPL." > > Guess the commment in src/repl/test.cljs should be updated then. I'm > not sure if the browser-connected REPL should work if the HTML page is > loaded from disk. I see a JavaScript error in the browser console, > URI file:/robots.txt is invalid for field ppu > > Looks like a security problem to me. Maybe someone from the > ClojureScript team knows more. > > - Raju > -- 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