Home > Enterprise >  Import js file from another url in Rhino
Import js file from another url in Rhino

Time:01-27

I am trying to use a rhino js file located at a GitHub repo. Using JS Script Engine: Rhino 1.7.13 version. Is there a way I can achieve this. I cannot place this file as application is on cloud. So, need to refer/load this file.

CodePudding user response:

You can try How do I include a JavaScript file in another JavaScript file? or what you can actually do is how will you even refer or load the file into cloud like a link such as https://example.com/mycode.js or what exactly so I can further help you?

CodePudding user response:

I found this on StackOverflow (the answer has been validated) :

How to import other javascript file with Rhino

  •  Tags:  
  • Related