Forgot to mention that the issue is most probably on the browser side,
because pointing a webbrowser at
"http://localhost:9000/reflect?var=example.hello/say-hello" by hand,
yields in the browser window:
cljs.core.ObjMap.fromObject(["\uFDD0'method-params","\uFDD0'name","\uFDD0'doc","\uFDD0'line","\uFDD0'file"],{"\uFDD0'method-params":"[[]]","\uFDD0'name":"example.hello/say-hello","\uFDD0'doc":"say-hello
doc","\uFDD0'line":10,"\uFDD0'file":"/Users/franks/Development/ClojureScript/swimtimer/src-cljs/example/hello.cljs"});
which is what one expects.
-FS.
On Oct 5, 2012, at 9:13 PM, Frank Siebenlist <[email protected]> wrote:
> …bumb…
>
> Is this maybe related to the use of lein-cljsbuild and having a separate
> server from which the js is downloaded?
>
> In other words, the reflect handler seems to be listening on the repl server
> on port 9000,
> while the web server from which the js is initially downloaded is listening
> on port 3000.
>
> The cljs-reflect code seems to get a conn from (net/xhr-connection), but I
> can not see any port number specified…
>
> I've reached the end of my javascript and goog knowledge… please.
>
> Did anyone get this to work with the lein-cljsbuild setup?
>
> -FrankS.
>
>
>
> On Sep 23, 2012, at 2:10 PM, Frank Siebenlist <[email protected]>
> wrote:
>
>> Trying to use the clojure.reflect/doc function in the cljs-repl,
>> but I only errors"
>>
>> ---
>>
>> ClojureScript:cljs.user> (clojure.reflect/doc "clojure.reflect/doc")
>> nil
>> Reflection query failed.
>> ClojureScript:cljs.user> (clojure.reflect/doc clojure.reflect.doc)
>> nil
>> Reflection query failed.
>> ClojureScript:cljs.user> (clojure.reflect/doc 'clojure.reflect.doc)
>> nil
>> Reflection query failed.
>> ClojureScript:cljs.user> (clojure.reflect/doc 'doc)
>> nil
>> Reflection query failed.
>>
>> ---
>>
>> Do I have to configure something on the server side maybe?
>> Any suggestions?
>>
>> Thanks, FrankS.
>>
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en