Hi. I have a simple script that basically calls one function from a third-party javascript library.
The minimal script file is just a plain call to the constructor:
var adate = new XDate();
The javascript library in question is:
http://arshaw.com/xdate/downloads/0.8/xdate.js.
The script works fine if the text of the library is simply included in the script file on the device, and when tested in a browser on a PC with the Tasker-generated function library.
The action fails to work at all if the library file is attached to the javascript action as an external library. I've double- and triple-checked that the paths are correct -- the generated wrapper code in the log file has the script tag with a correct src attribute relative to the sdcard root.
The log file says the task has run and exited normally, but when I run it manually from the task list I see a green dot next to the action name, and it does nothing.
As far as I see, there is one similar question in this board (about jquery), but the end of that question was that a Tasker restart/reboot solved the issue. In my case, restarting Tasker or even rebooting doesn't help (not that I expected it would).
Any ideas where I should start looking for the problem?
TIA,