ClojureScriptOne HelloWorld problem

2012-01-13 Thread Huft
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


Re: ClojureScriptOne HelloWorld problem

2012-01-13 Thread Huft
Oops! Need to refresh the browser. Works - thanks.

On Jan 13, 2:41 pm, László Török  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 
>
>
>
>
>
>
>
>
>
> > 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


Re: ClojureScriptOne HelloWorld problem

2012-01-13 Thread Huft
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  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 
>
>
>
>
>
>
>
>
>
> > 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