[Project_owners] Is it possible to..

joe ertaba belaviyo at gmail.com
Wed Feb 27 22:30:36 PST 2008


could somebody explain
nsIScriptLoader<http://xulplanet.mozdev.org/references/xpcomref/nsIScriptLoader.html>I
cant find any good source for it!

On Tue, Feb 26, 2008 at 12:23 AM, Eric H. Jung <eric.jung at yahoo.com> wrote:

>
> --- Jesper Staun Hansen <jesper at selvet.dk> wrote:
>
> > Is it possible to have one function in one file call a function in
> > another js file?:
> >
> >
> > in caller.js:
> > =======
> > function init() {
> >     IcallYou("world");
> > }
> > init();
> >
> >
> > in responder.js:
> > =======
> > function IcallYou(callWhat) {
> >     dump("Hello "+callWhat+"\n");
> > }
> >
> >
> >
> > I remember I had trouble doing this last I did this.
> >
>
> Yes, it is possible. Just make sure each includes the other file. You can
> do this in xul with
> <script/> or in JS using
> http://xulplanet.mozdev.org/references/xpcomref/nsIScriptLoader.html
>
>
>
>
>
>  ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mozdev.org/pipermail/project_owners/attachments/20080228/e9f06395/attachment.html 


More information about the Project_owners mailing list