Now, it is possible to require cljsjs
packages inside klipse
Live demo with cljsjs.react
: https://goo.gl/erLWUd
thanks @martinklepsch for your help yesterday
KLIPSE loads the cljsjs
packages from this github repo: https://github.com/viebel/cljsjs-hosted
Currently there are only a few packages in the repo
But I wrote the instructions for adding more packages
I’d really appreciate if some folks take a few minutes to add their favourite packages...
@viebel why don’t you just add all of them? 😄
Because it takes time...
I need crowd sourcing :hugging_face:
ah, just read the instructions, thought it’s just adding a single line or so
Or someone clever that will find a way to add all of them...
in a smart script
@martinklepsch is there a way to get the list of all the cljsjs
packages with their version?
Something like:
[cljsjs/moment "2.15.2-3"]
[cljsjs/highcharts "5.0.4-0"]
[cljsjs/react "15.4.0-0"]
[cljsjs/react-dom "15.4.0-0"]
[cljsjs/react-dom-server "15.4.0-0"]
[cljsjs/react-with-addons “15.4.0-0”]
@viebel the above should make it pretty easy to generate this list
yeap
let me try
@martinklepsch the name of the package is in “artifact”?
yeah cljsjs/${artifact}
ok. cool
that seems to work
@martinklepsch now I’m uploading all the packages contents to github....
what does “inc” stand for in file names inside the jars e.g. moment.min.inc.js
?
@viebel Include
and what does “include” stand for @juhoteperi ?
That the file should be included in the build
It is no longer used by anything
ok. thx