Hi, Everybody:
I have a script host that implemented in Java and using FESI to run
JavaScript. The JavaScript files are separated into different files and
putting together at run or load time. Every time I have to manually to
make sure that a function referenced in one file is defined in another
so my host won't crash due to exception. I have been trying to put in a
detect-and-execute logic in my code for some time but with no real
success. This mainly due to FESI limitation. I believe only JavaScript
1.1 is supported. I have tried eval with try-catch but FESI won't allow
the key word "try" and "catch". I wonder if anybody in this group have
come across the similar problem? Any pointer would be very appreciated.
Thanks,
-Jay