cljsjs

Yehonathan Sharvit 2017-01-02T07:08:29.000350Z

Now, it is possible to require cljsjs packages inside klipse

Yehonathan Sharvit 2017-01-02T07:09:06.000351Z

Live demo with cljsjs.react : https://goo.gl/erLWUd

Yehonathan Sharvit 2017-01-02T07:09:20.000352Z

thanks @martinklepsch for your help yesterday

Yehonathan Sharvit 2017-01-02T07:10:02.000353Z

KLIPSE loads the cljsjs packages from this github repo: https://github.com/viebel/cljsjs-hosted

Yehonathan Sharvit 2017-01-02T07:10:22.000355Z

Currently there are only a few packages in the repo

Yehonathan Sharvit 2017-01-02T07:10:35.000356Z

But I wrote the instructions for adding more packages

Yehonathan Sharvit 2017-01-02T07:11:22.000357Z

I’d really appreciate if some folks take a few minutes to add their favourite packages...

martinklepsch 2017-01-02T07:12:55.000359Z

@viebel why don’t you just add all of them? 😄

Yehonathan Sharvit 2017-01-02T07:13:07.000360Z

Because it takes time...

Yehonathan Sharvit 2017-01-02T07:13:46.000361Z

I need crowd sourcing :hugging_face:

martinklepsch 2017-01-02T07:14:00.000362Z

ah, just read the instructions, thought it’s just adding a single line or so

Yehonathan Sharvit 2017-01-02T07:14:19.000363Z

Or someone clever that will find a way to add all of them...

Yehonathan Sharvit 2017-01-02T07:14:27.000364Z

in a smart script

Yehonathan Sharvit 2017-01-02T07:15:24.000366Z

@martinklepsch is there a way to get the list of all the cljsjs packages with their version?

Yehonathan Sharvit 2017-01-02T07:15:39.000367Z

Something like:

Yehonathan Sharvit 2017-01-02T07:15:53.000368Z

[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”]

martinklepsch 2017-01-02T07:16:11.000370Z

http://cljsjs.github.io/data.json

martinklepsch 2017-01-02T07:16:58.000371Z

@viebel the above should make it pretty easy to generate this list

Yehonathan Sharvit 2017-01-02T07:17:05.000372Z

yeap

Yehonathan Sharvit 2017-01-02T07:17:09.000373Z

let me try

Yehonathan Sharvit 2017-01-02T07:25:09.000374Z

@martinklepsch the name of the package is in “artifact”?

martinklepsch 2017-01-02T07:25:27.000375Z

yeah cljsjs/${artifact}

Yehonathan Sharvit 2017-01-02T07:25:32.000376Z

ok. cool

Yehonathan Sharvit 2017-01-02T08:04:46.000377Z

that seems to work

Yehonathan Sharvit 2017-01-02T08:05:09.000378Z

@martinklepsch now I’m uploading all the packages contents to github....

Yehonathan Sharvit 2017-01-02T08:22:38.000379Z

what does “inc” stand for in file names inside the jars e.g. moment.min.inc.js?

juhoteperi 2017-01-02T08:39:34.000381Z

@viebel Include

Yehonathan Sharvit 2017-01-02T08:40:32.000382Z

and what does “include” stand for @juhoteperi ?

juhoteperi 2017-01-02T08:41:14.000383Z

That the file should be included in the build

juhoteperi 2017-01-02T08:41:19.000384Z

It is no longer used by anything

Yehonathan Sharvit 2017-01-02T08:51:35.000385Z

ok. thx