Consequently, I also made a project template that you can try and use a
couple parent segments up in the url :-).

https://github.com/gtrak/node-cljs-template

It manually sets everything up, tested on linux64. Might have to finagle
with binary download urls to get it to work elsewhere.


On Tue, Dec 31, 2013 at 3:11 PM, Gary Trakhman <[email protected]>wrote:

> Since I wanted to test in chrome and node-webkit with the same compiled
> code, I ended up skipping the cljs provided node namespace and using my own
> version of node's require:
>
> Not sure if there's a better way.
>
>
> https://github.com/gtrak/node-cljs-template/blob/master/src-cljs/src/cljs_app/node_bits.cljs
>
>
>
>
> On Tue, Dec 31, 2013 at 3:01 PM, Eduardo Lávaque 
> <[email protected]>wrote:
>
>> How does one achieve this integration? Mainly the integration with Node
>> because I have been at this for a couple of days, researching myself and
>> reading blog posts but I just can't figure it out.
>>
>> So my questions are:
>>
>> - How does one integrate CLJS with Node.js? I.E. how does one do Node's
>> `require` function? How does one get access to Node modules (installed with
>> `npm`)?
>> - After that, is there anything special one needs to do to integrate
>> correctly with node-webkit?
>>
>> Thank you for your help. :)
>>
>> --
>> Eduardo Lávaque (A.K.A. Eduán or Greduan)
>>
>> --
>> 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.
>>
>
>

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