I am trying to use a external library in my custom extension.
I am loading it with the require JS, but the initializer of the library don't work
heres my code: (I removed the sensitive data)
the thing is, the .timeline at the end of the code initializes my library (ploting the timeline in the document).
This code works perfectly when I used in the vsCode with jquery and <script> in the HTML, but I can't make it works when I try to use requireJS and qlik, it says timeline is not defined.