Hello all,
I've build a component based on the visJS vizualization library and although it worked perfectly in Design Studio 1.3, it fails to run the external JS file in Design Studio 1.4.
My contribution.xml file contains the following line: <jsInclude>res/js/vis.js</jsInclude> which points to a copy of the library available here: http://visjs.org/dist/vis.js
On console.log on the separate file vis is identified as an object and I can instantiate a visualization based on the library. However, when running a Design Studio application using the component I get the following error: Uncaught ReferenceError: vis is not defined
Has anyone else had this problem before? I'll be grateful for any suggestion you may have on this topic.
Thank you,
Alina