cljsjs

rovanion 2017-10-05T07:27:08.000106Z

Hmm, I wanted to package this small library for cljsjs but it doesn't seem to have any external functions. It just mutates another library upon import. https://github.com/bbecquet/Leaflet.RotatedMarker/blob/master/leaflet.rotatedMarker.js

rovanion 2017-10-05T07:27:20.000064Z

What do I do about that?

rovanion 2017-10-05T07:27:53.000136Z

I still want the module loading code to not be killed by the google closure compiler.

rovanion 2017-10-05T08:33:51.000040Z

@juhoteperi That's a weird externs file since the js itself never defines a var leafletFullscreen.

juhoteperi 2017-10-05T08:34:29.000248Z

Doesn't matter, only the "leaf names" matter

juhoteperi 2017-10-05T08:34:51.000044Z

i.e. foo.bar.fullscreenControl, foo.fullscreenControl and var fullscreenControl in extern work the same

juhoteperi 2017-10-05T08:36:54.000024Z

Or maybe more specifically, any names in externs, no matter where it is, are kept, so foo.bar.fullscreenControl will cause Closure to keep names foo, bar and fullscreenControl always

juhoteperi 2017-10-05T08:37:17.000219Z

Closure doesn't care about the structure

ag 2017-10-05T18:45:02.000287Z

hey guys, can someone help me to get the package out? I need to get this to work: https://github.com/cljsjs/packages/pull/1356

juhoteperi 2017-10-05T18:59:16.000512Z

@ag for global-exports part: https://github.com/cljsjs/packages/blob/master/react-transition-group/build.boot#L29

juhoteperi 2017-10-05T18:59:43.000449Z

don't know about the other question

ag 2017-10-05T20:28:15.000573Z

@juhoteperi what's the best way to publish the package (even before PR gets accepted?)

ag 2017-10-05T20:30:05.000286Z

can I run deploy-changed.sh even before the PR gets accepted?

juhoteperi 2017-10-05T20:34:30.000224Z

boot package install will install it locally

juhoteperi 2017-10-05T20:34:41.000464Z

@ag Is the PR ready? I can accept it if you think it works

ag 2017-10-05T20:36:24.000420Z

a) I need it to run it in CI - have to push it somewhere, somehow b) I'd like to update readme and add an example of a test c) I'd like to get the global-exports part in

ag 2017-10-05T20:37:32.000096Z

^ @juhoteperi

juhoteperi 2017-10-05T20:37:53.000347Z

merging the PR is only way to get it pushed to cljsjs clojars group

juhoteperi 2017-10-05T20:38:19.000192Z

you could modify group name and run boot package deploy yourself

juhoteperi 2017-10-05T20:38:30.000138Z

or, I can just merge it, readme can be updated after it is merged

juhoteperi 2017-10-05T20:38:46.000227Z

global-exports is not that important currently, you can add it later

ag 2017-10-05T20:38:54.000383Z

give me sometime, I'll ping you then, Thanks a lot!