Thanks for your responses David and Daryl, I'll look into the 'requires'
stuff and just keep playing around.

Michael Rennie




From:       Daryl Stultz <[email protected]>,
To:         Rhino JS User List <[email protected]>
Date:       2010/08/10 03:26 PM
Subject:    Re: Can you set a classpath-like entry for Rhino?
Sent by:    dev-tech-js-engine-rhino-bounces
            [email protected]



On Tue, Aug 10, 2010 at 3:41 PM, David Parks <[email protected]>
wrote:

> Interesting question.
> I can't think of a way that Rhino would even know that the object was
> defined in
> script 'b' if you hadn't passed it to Rhino to parse (until it's parsed
> it's
> just text).
>
> There's been some discussion of supporting the "requires" function. That
might get you in the right direction.


--
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
http://www.opentempo.com
mailto:[email protected]
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to