FWIW, here is some helper code, to conveniently call jquery and other
object-method style libraries under advanced compilation without needing
externs or wrap the possible methods beforehand.
Macros can be called with plain symbols.
https://github.com/webnf/webnf/blob/master/cljs/src/webnf/util.cl
@Timothy, James: Everything works now. Thanks!
On Wed, Mar 12, 2014 at 10:38 AM, James Reeves wrote:
> Take a look at jayq: https://github.com/ibdknox/jayq
>
> - James
>
>
> On 12 March 2014 17:14, t x wrote:
>>
>> Hi,
>>
>> Consider
>> https://github.com/extend/bullet/blob/master/examples/clo
Take a look at jayq: https://github.com/ibdknox/jayq
- James
On 12 March 2014 17:14, t x wrote:
> Hi,
>
> Consider
> https://github.com/extend/bullet/blob/master/examples/clock/src/toppage_handler.erl#L50-L57
>
> I want to know how to express "$.bullet" in cljs (when compiled with
> optimi
I think this should work:
(.bullet js/$ arg1 arg2)
Although this might not work with advanced compilation. In that case you
may need to provide extra info to the CLJS compiler to keep .bullet from
getting renamed.
Timothy
On Wed, Mar 12, 2014 at 11:14 AM, t x wrote:
> Hi,
>
> Consider
> ht
Hi,
Consider
https://github.com/extend/bullet/blob/master/examples/clock/src/toppage_handler.erl#L50-L57
I want to know how to express "$.bullet" in cljs (when compiled with
optimiztaions: advanced).
I know how to use things like
(js/console.log ... )
(js/MathJax ... )
However, w