Thank you Dave and David,

Regards,
Kashyap

On Monday, February 17, 2014 8:26:25 AM UTC+5:30, David Della Costa wrote:
>
> Just because you are using jQuery extensively in your JS codebase 
> doesn't mean you need jayq/jQuery in your ClojureScript code.  If you 
> are trying to do inter-op and call some of your JavaScript code from 
> your ClojureScript code, then you can simply use standard JavaScript 
> inter-op; if you want to user your ClojureScript functions in JS you 
> simply need to label those functions with the metadata ^:export and call 
> them in a namespace-qualified fashion. 
>
> externs are only necessary when you need to tell the Google Closure 
> compiler that it should not mangle certain names when compiling in 
> advanced mode 
> (https://developers.google.com/closure/compiler/docs/api-tutorial3). 
> That being the case, you only really need to make sure you have an 
> externs file which includes JS function names that you are referring to 
> in your ClojureScript code, and that is only if you are compiling in 
> advanced mode.  If you use jayq in advanced mode, of course you'll need 
> this (https://github.com/ibdknox/jayq#compiling), but if you don't 
> include it you don't need to think about it...or jQuery. 
>
> If you find you need to access the DOM in your ClojureScript code I 
> would suggest starting with something like dommy or even the default 
> Google closure libraries (the approach David Nolen takes in most of his 
> blog posts). 
>
> DD 
>
>
> (2014/02/16 23:47), Kashyap CK wrote: 
> > Hi, 
> > 
> > It took me some time to get started with clojurescript (on 
> > windows/cygwin) 
> > - http://swannodette.github.io/2013/11/07/clojurescript-101/ worked for 
> me. 
> > 
> > I'd like to use clojurescript to do some UI component development for 
> > product which is built using webkit/js/jquery. I was wondering if it is 
> > okay to develop a feature in such an application, where most of the UI 
> > is in jquery, in clojurescript? 
> > 
> > I'd appreciate it very much to know if there are any known gotha's here 
> > or any tips that I could use?   
> > 
> > Regards, 
> > Kashyap 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Clojure" group. 
> > To post to this group, send email to [email protected]<javascript:> 
> > 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] <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/clojure?hl=en 
> > --- 
> > You received this message because you are subscribed to the Google 
> > Groups "Clojure" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to