You might also look at the source to SilkJS. It includes its own built-in JS classes at startup and provides both include() and require() (CommonJS) functions.
http://github.com/mschwartz/SIlkJS http://silkjs.org On Mon, Apr 23, 2012 at 3:04 AM, souad agoun <[email protected]> wrote: > hi > i need to call external js functions in my current javascript v8 file. > I tried to include a js file in my v8 js file and it's not working :/ > (i can't even run my include ('file.js') i am a new user of v8 :/ ) > is there any solution for that ? > thank you in advance > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
