Fork me on GitHub
#cljsjs
<
2017-10-05
>
rovanion07:10:08

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

rovanion07:10:20

What do I do about that?

rovanion07:10:53

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

rovanion08:10:51

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

juhoteperi08:10:29

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

juhoteperi08:10:51

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

juhoteperi08:10:54

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

juhoteperi08:10:17

Closure doesn't care about the structure

ag18:10:02

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

juhoteperi18:10:43

don't know about the other question

ag20:10:15

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

ag20:10:05

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

juhoteperi20:10:30

boot package install will install it locally

juhoteperi20:10:41

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

ag20:10:24

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

juhoteperi20:10:53

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

juhoteperi20:10:19

you could modify group name and run boot package deploy yourself

juhoteperi20:10:30

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

juhoteperi20:10:46

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

ag20:10:54

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