Fork me on GitHub
#cljsjs
<
2017-02-02
>
richiardiandrea18:02:56

so yeah I cannot encapsulate Common.JS modules in a boot-cljsjs package am I right?

spieden19:02:45

@richiardiandrea in my experience you have to compile them down to regular JS and write an externs file, although i understand there a new features for auto generating externs that i haven’t checked out yet

richiardiandrea19:02:31

I have done it, but the problem is that I don't see the functions under the object, I see the object though

richiardiandrea19:02:27

ah, I saw that I have a requirejs missing warning....

richiardiandrea19:02:33

uhm maybe that's the problem

richiardiandrea19:02:41

I actually don't need the require because I am squashing the file together...

spieden19:02:50

hmm, sounds like you’re more advanced than i. my approach has been to compile away all the component models and require stuff to a single monolithic JS with no features that weren’t there ten years ago =)