cljsjs

adamfrey 2016-04-17T16:03:01.000016Z

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?

adamfrey 2016-04-17T16:03:51.000018Z

@juhoteperi

adamfrey 2016-04-17T21:31:37.000021Z

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.

juhoteperi 2016-04-17T22:00:50.000022Z

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

adamfrey 2016-04-17T22:03:54.000023Z

thanks! I’ll look at it