Search the web
Sign In
New User? Sign Up
jsosa · JavaScript OSA-Talk
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Hello!   Message List  
Reply | Forward Message #492 of 529 |
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!







Fri Dec 30, 2005 6:24 am

spadeaceman
Online Now Online Now
Send Email Send Email

Forward
Message #492 of 529 |
Expand Messages Author Sort by Date

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...
Spade Aceman
spadeaceman
Online Now Send Email
Dec 30, 2005
6:24 am

... Not built-in, but you can read in a source file and eval() it, which gives you the same thing, ie: the source file is evaluated in the same context as the...
arthur@...
admiralnovia
Offline Send Email
Jan 2, 2006
3:00 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help