How to make JS File accessible via module definitions? [SOLVED]
I have a (pragma singleton) java script file which i would like to make accessible via a module definition.
This looks as follows:
module MyModule MyJsFile 1.0 /path/to/file.js // ..some other Controls...
Now, i would like to access my functions in another (module-extern) file:
import MyModule 1.0 // So... what to do now? // something like this? (doesn't work) import MyModule.MyJsFile 1.0 as "MyJS" MyJs.doIt();
Any help is welcome!
Thanks in advance,
p3c0 Moderators last edited by
Yep. That works. Thank you very much!
...That was too easy ^^