cljsjs

rgdelato 2017-04-20T18:15:12.953308Z

Apologies if this is a dumb question: I'm trying to add an ES6 library that does a default export. How do I make it so that users can write (js/Library args) instead of ((.-default js/Library) args)?

bunkers 2017-04-20T21:41:22.486299Z

I think I might have a similar question to you @rgdelato. I’ve been writing the externs for P5 and have a got a utils namespace with a load of wrapper functions to hide a lot of the JS interop code. I’m not sure where to put this cljs file to get it bundled in to the jar.

bunkers 2017-04-20T21:47:47.595258Z

ignore me I’m being dumb!