When I eval in the cljs-repl:

    (set! *print-fn* clojure.browser.repl/repl-print)

all works again.

Seems that the "(defmethod handle-post :ready [_ conn _] …)" in 
cljs.repl.browser doesn't assign the *print-fn* in the cljs-repl (?).

Not sure if anything changed there (?).

-FS.


On Oct 19, 2012, at 7:56 PM, Frank Siebenlist <frank.siebenl...@gmail.com> 
wrote:

> Not sure if its my cljs-config somehow (working off head r1514), but println 
> doesn't seem to be working anymore:
> 
> ClojureScript:cljs.user> (println "JAJA")
> "Error evaluating:" (println "JAJA") :as 
> "cljs.core.println.call(null,\"JAJA\");\n"
> #<Error: No *print-fn* fn set for evaluation environment>
> _STAR_print_fn_STAR_@http://10.0.1.18:9000/js/main-debug.js:1821
> string_print@http://10.0.1.18:9000/js/main-debug.js:18711
> pr_with_opts@http://10.0.1.18:9000/js/main-debug.js:18984
> println__delegate@http://10.0.1.18:9000/js/main-debug.js:19098
> println@http://10.0.1.18:9000/js/main-debug.js:19102
> 
> 
> eval code
> eval@[native code]
> @http://10.0.1.18:9000/js/main-debug.js:29720
> evaluate_javascript@http://10.0.1.18:9000/js/main-debug.js:29719
> @http://10.0.1.18:9000/js/main-debug.js:29799
> deliver@http://10.0.1.18:9000/js/main-debug.js:25554
> deliver_@http://10.0.1.18:9000/js/main-debug.js:26665
> messageReceived_@http://10.0.1.18:9000/js/main-debug.js:26258
> handleEvent@http://10.0.1.18:9000/js/main-debug.js:21161
> fireListener@http://10.0.1.18:9000/js/main-debug.js:21661
> handleBrowserEvent_@http://10.0.1.18:9000/js/main-debug.js:21726
> f@http://10.0.1.18:9000/js/main-debug.js:21265
> [native code]
> nil
> ClojureScript:cljs.user> 
> 
> 
> Is it just me or…
> 
> -FrankS.

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