I'm a Javascript programmer, doing much of my coding at work in a
Windows Script Host environment, writing scripts to accomplish various
repetitive tasks. I also use the same codebase on my home computers,
with a series of cross-platform Javascript libraries designed to work
under WSH, web browsers, and Rhino Javascript for Java. (It's still
very much a work in progress, as you can imagine!) I'm very excited to
see that I can write OS X native Javascript now as well!
I do have a few questions though. Looking through the online
documentation (which is quite helpful, btw), I couldn't find any way
of loading script files that's analogous to the way they're loaded in
web pages. The Core.load() function seems to load each separate script
file as its own object, which, while an excellent idea, doesn't mesh
well with how script files are loaded in all the other environments.
Is there another way of loading script files in JSOSA, in the same
inline fashion as web browsers do?
Thanks, and I look forward to learning more!