I am using a JS external file (I added it to the project via Project > Add New Code File. If I look in the file system, appStudio put it in my ‘modules’ folder inside the project and added a .js extension. It is the last file listed in the Project Explorer.
The file have several functions. However, when I call one using the function name (eg. setUp() ), the debugger says there is an uncaught reference error (see pictures).
So I tried adding this to the Project Extra Headers property per an answer in the discussion board;
But I got the error shown in the third picture.