generic javascript view - dependencies

I thought it would be interesting to implement InCHlib (http://openscreen.cz/software/inchlib/home/) in the Generic Javascript View node, but I'm not clear how one might reference indirect JavaScript dependencies, such as the KineticJS needed for InCHlib?

I'm not at all familiar with RequireJS, and it would seem that the node could do with an easier mechanism for defining dependencies.

Cheers,

Steve.

Hello Steve,

You could try to use JQuery to get the code from the website. I am no expert for the JavaScript Views, but for me that looks like being worth a try.

Best,
Ferry

Some time back I posted an example on how to do it here.

In my case it was about using plotly.js, but it should work similarly with other JS libraries. Let me know if it works.

Cheers,
Marco.