I think the problem here is with the ClojureScript REPL and single- segment namespaces.
We found a couple of problems with the ClojureScript REPL while working on One and will address them soon. If you confirm that this is the problem, please let us know. Also, feel free to add an issue to JIRA with the steps to reproduce. Thanks, Brenton On Jan 15, 6:57 am, Takahiro Hozumi <fat...@googlemail.com> wrote: > Hi, > In my browser repl, which follows the ClojureScript wiki[1], I must > specify variables with namespace even if `in-ns` is used, but I > noticed that I don't have to do in the repl of ClojureScript One[2]. > > Am I the only one who cannot access variables without namespace? > What makes the diffirence? > > log: > ClojureScript:cljs.user> (in-ns 'myns) > > ClojureScript:myns> myns/mydiv ;;with a namespace > #<[object HTMLDivElement]> > > ClojureScript:myns> mydiv ;;without a namespace > "Error evaluating:" mydiv :as ".mydiv;\n" > #<SyntaxError: Unexpected token .> > SyntaxError: Unexpected token . > athttp://localhost:8080/cljs/clojure/browser/repl.js:21:158 > > [1]https://github.com/clojure/clojurescript/wiki/Emacs-%26-inferior-lisp... > [2]https://github.com/brentonashworth/one/wiki/Development > > 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