Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ease-dev] Importing other modules

I wish to demonstrate to my EASE scripting users how to import a
method from another JS module.

I can't find this is in any EASE demo scripts, but don't know if it's
a function (excuse the pun) of EASE or of JSDT.

I found an example of what appears to be the fairly complex method of
registering a third-party library with JSDT [1], but this seems to be
beyond what I require.

I simply need to be able to create a JS method in one utility JS file,
refer to it from a JS script, when want it to be called when the
second script is run in EASE.

Can anyone point me to a demonstration of referring to another JS file
from an EASE script?

Thanks,
Ian

[1] https://www.htmlgoodies.com/html5/javascript/add-external-js-libraries-to-eclipse-jsdt-driven-projects.html


Back to the top