Subj : Re: Creating classes/namespaces on the fly from existing functions? To : netscape.public.mozilla.jseng From : bubbfree Date : Thu Jan 06 2005 09:29 pm Hm I wonder if the addLibrary() call is even necessary. Perhaps i could hook into the error reporting, so that if an object/var was not found attempt to look up the filename in a predefined directory and parse that. If not, then continue with the regular error processing, if successful, flag a bool to re-execute the main script .... .