The ClojureScript REPL will hang if it is not connected to the
browser. Make sure you are on the development page of ClojureScript
One, which is the only page that will allow a REPL connection. If you
are already there then just refresh the page.

The best way to start a ClojureScript REPL is described here:

https://github.com/brentonashworth/one/wiki/Quick-Start

Brenton

On Jan 13, 9:51 am, Huft <justin.worr...@gmail.com> wrote:
> Ah - RTFM - difference between Clojure- and Clojurescript- REPLs -
> thanks
>
> So now I have the Clojurescript REPL running; but entering '(js/alert
> "hello")' just causes the REPL to hang [doesn't return]
>
> On Jan 13, 2:41 pm, László Török <ltoro...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > you're probably still in the Clojure REPL, read "Manually starting a
> > ClojureScript REPL"
>
> > and then refresh the development view in your browser and you're all set.
>
> > L
>
> > 2012/1/12 Huft <justin.worr...@gmail.com>
>
> > > Hi,
>
> > > New to Clojure, excited to take a peek at ClojureScriptOne. Installed
> > > it, now running script/run; repl appears, application visible at
> > > localhost:8080, clicked 'Development'.  Now trying to enter forms at
> > > the repl, as per
>
> > >https://github.com/brentonashworth/one/wiki/Getting-started
>
> > > However if I type:
>
> > > (js/alert "hello")
>
> > > at the repl, I get:
>
> > > CompilerException java.lang.RuntimeException: No such namespace: js,
> > > compiling:(NO_SOURCE_PATH:1)
>
> > > Apologies for n00b question, but can anyone help me out ?
>
> > > Thanks.
>
> > > --
> > > 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
>
> > --
> > László Török
>
> > Skype: laczoka2000
> > Twitter: @laczoka

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