Fork me on GitHub
#cljsjs
<
2016-01-26
>
rohit11:01:13

@martinklepsch, @juhoteperi: i’ve created a project which helps in creating the extern and build.boot file required for a maintaining a JS package. comments welcome. https://github.com/ducky427/externs

rohit11:01:54

the idea is to generate the externs automatically using https://github.com/jmmk/javascript-externs-generator

rohit11:01:52

I’ve just packaged that in an electron desktop app. the user never actually sees any browser window and it is meant to be run from the commandline

thomas21:01:39

Hi Rohit, that looks very interesting.... (as I am struggling to provide a workable extern file)...

thomas21:01:15

I couldn't get it to work though 😞 first of I seem to be on node 4.2.6 which might be too old.

thomas21:01:22

and the *.min.js file is only available as a zip on the web... is it possible to point the entry in the edn file to a local file path? would that be possible (or maybe a feature to consider in the future.

thomas21:01:25

also the jmkk generator doesn't seem to be able to generate extern file for the paho project.