- After that, is there anything special one needs to do to integrate
correctly with node-webkit?

Integrating Clojurescript + Node-Webkit is simple and straightforward.
There really isn't any commentary to talk about actually since there are no
huge gotchas as far as I can see that have not been talked about in the
Wiki.

This can be a stumbling block dealing with the require function but this
isn't Clojurescript specific:

https://github.com/rogerwang/node-webkit/wiki/faq-name-conflict




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

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

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