Re: Problem with ClojureScript and Node.js

2011-07-27 Thread Oliver Kaiser
I seem to have fixed this by editing closure/library/closure/goog/base.js and rebuilding lib/goog.jar. The relevant line is "goog.global = this;" somewhere at the top where "this" should be replaced by "(function(){return this})();"; the bootstrap script contains the command to create the jarfile.

Re: Problem with ClojureScript and Node.js

2011-07-25 Thread Oliver Kaiser
I also experience this problem; switching nodejs versions (0.4.11-pre == v0.4 branch, 0.4.10 and 0.5.2) did not have any effect. When compiling with: bin/cljsc samples/nodehello.cljs '{:target :nodejs :optimizations :simple :pretty-print true}' > nodehello.js the (first) relevant line for this er

Re: Embedding a REPL

2009-12-08 Thread Oliver Kaiser
Have you seen this post: http://ianp.org/2009/04/embedding-clojure-part-2/ ? I haven't tried this, but it looks like what you are asking. Regards, tok -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@google