Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

Re: Third Party Javascript In XS Engine?

$
0
0

What would be the syntax for importing a third party library into an xsjs service? I have tried the following:

 

my.xsjs:

 

     $.import("myApp","myLib");

 

where my.xsjs is in the same package (myApp) as myLib.js

 

i receive the following error:

 

Found the following errors:

===========================

Error: import: failed to load the library (line 1 position 0 in /myApp/my.xsjs)


Viewing all articles
Browse latest Browse all 9656

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>