Fork me on GitHub
#cljsjs
<
2016-04-17
>
adamfrey16:04:01

I’m trying to package up the Photoswipe library (http://photoswipe.com/) and I found that it puts its core js code in one file photoswipe.js and has a different js file for the default UI photoswipe-ui-default.js I see that cljsjs only packages up one *.inc.js file, so do you think I should create two packages, one core and one with the UI, or should I concatenate the files together somehow?

adamfrey21:04:37

As a follow up, to my question, I wrote the concatenation code. And I think that’s a good default for most people, unless anyone has objections.

juhoteperi22:04:50

@adamfrey: some packages provide multiple namespaces. Check highlight js.

adamfrey22:04:54

thanks! I’ll look at it