cljsjs

leontalbot 2017-07-04T00:30:27.994029Z

hello @juhoteperi! How can I generate externs for https://raw.githubusercontent.com/dreyescat/react-rating/master/lib/react-rating.js

leontalbot 2017-07-04T00:30:42.996095Z

Thank you!

leontalbot 2017-07-04T00:32:16.008528Z

I copy paste the link in http://jmmk.github.io/javascript-externs-generator/ but it doesn’t load anything

leontalbot 2017-07-04T00:45:31.114396Z

oh, with this link it is working: http://dreyescat.github.io/react-rating/lib/react-rating.js (edited) Would you know what is the JavaScript object to enter for this lib?

leontalbot 2017-07-04T03:28:54.558601Z

Tested a bunch but couldn’t figure that out.

juhoteperi 2017-07-04T06:20:37.116852Z

@leontalbot ReactRating

juhoteperi 2017-07-04T06:21:27.126923Z

Remember to also load react.js

juhoteperi 2017-07-04T06:21:45.130727Z

Browser needs the dependencies to be able to evaluate the lib code