These namespaces are (JVM-)Clojure specific. The EDN "tools" for
ClojureScript are in cljs.reader. As far as I know, there is no equivalent
for clojure.java.io in ClojureScript.

On Monday, 1 December 2014, Viktor Eriksson <[email protected]>
wrote:

> Hi,
>
> This is probably a very trivial error on my part somewhere. But I tried to
> require clojure.edn and clojure.java.io in my .cljs-file. When compiling
> I get the following errors in the REPL:
>
> WARNING: No such namespace: clojure.edn at line 1
> /home/viktor/test/src-cljs/app/model/language.cljs
> WARNING: No such namespace: clojure.java.io at line 1
> /home/viktor/test/src-cljs/app/model/language.cljs
> WARNING: Use of undeclared Var app.model.language/slurp at line 6
> /home/viktor/test/src-cljs/app/model/language.cljs
> WARNING: No such namespace: clojure.edn at line 1
> src-cljs/app/model/language.cljs
> WARNING: No such namespace: clojure.java.io at line 1
> src-cljs/app/model/language.cljs
> WARNING: Use of undeclared Var app.model.language/slurp at line 6
> src-cljs/app/model/language.cljs
>
>
> In the JS-Console:
>
> Error: Undefined nameToPath for clojure.edn
>
> Would be very thankful for any help :)
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:;>.
> To post to this group, send email to [email protected]
> <javascript:;>.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to