On Sun, May 23, 2010 at 12:22 PM, Ivana <[email protected]> wrote:

> Hi,
>
> I need to define variables and functions in one javascript file, and than
> include this file into another javascript file and use them. Is that
> possible (even if is needed to use java interface)?
>

I use an approach similar to Dan's however I'd like to replace it with
"require". There's been some work done here to support the "require()"
function, I don't know much of the details, maybe someone else here can
cover it.


-- 
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

Reply via email to