Hi There,
I need to manage javascript variables and functions common to different UX pages. I’ve tried to group them into one JS file called from all these pages. I’ve tried using <JavaScript File="MyModule.js" />
or var myModule = Require("MyModule.js");
, having the JS file included in the .unoproj as a bundle.
But when I want to read one of the “global” variables var a = myModule.oneGlobalVar;
, it returns “undefined”.
Please Assist,
Thanks!
Bertrand.