How can I reference a call to a function in another .js file ?
Max <[email protected]> Tue, 20 Jul 2004 18:11:36 +0200
| Newsgroups | gmane.comp.mozilla.devel.prefs |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
-------- Original Message -------- Subject: How can I reference a call to a function in another .js file ? Date: Tue, 20 Jul 2004 18:08:31 +0200 From: Max <[email protected]> Organization: Another Netscape Collabra Server User Newsgroups: netscape.public.mozilla.browser Following up on my previous message, the code I added needs to duplicate (add) the following 2 functions in navigator.js function prefClearCache(aType) function prefClearDiskAndMemCache() How can I invoke those 2 functions from pref-cache.js in navigator.js ? This would allow me to save adding a few lines to the overall code. Thanks, -- M@x -- M@x