cljsjs

richiardiandrea 2017-02-02T01:55:06.000898Z

Is there a simple way to generate externs for these kind of file: https://github.com/thelonious/kld-intersections/blob/development/lib/Intersection.js

richiardiandrea 2017-02-02T18:22:56.000901Z

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

spieden 2017-02-02T19:21:45.000902Z

@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

richiardiandrea 2017-02-02T19:22:31.000903Z

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

richiardiandrea 2017-02-02T19:23:27.000904Z

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

richiardiandrea 2017-02-02T19:23:33.000905Z

uhm maybe that's the problem

richiardiandrea 2017-02-02T19:25:41.000906Z

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

spieden 2017-02-02T19:27:50.000907Z

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