[Project_owners] Is it possible to..
Jesper Staun Hansen
jesper at selvet.dk
Wed Feb 27 22:44:30 PST 2008
You're not the only one having trouble with reading that kind of
documentation.
joe ertaba wrote:
> 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
> <mailto:eric.jung at yahoo.com>> wrote:
>
>
> --- Jesper Staun Hansen <jesper at selvet.dk
> <mailto: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 <mailto:Project_owners at mozdev.org>
> https://www.mozdev.org/mailman/listinfo/project_owners
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>
More information about the Project_owners
mailing list