Subj : Code Re-use / Package Workaround To : netscape.public.mozilla.jseng From : ng@xxagg.com (Benji Smith) Date : Wed Jan 28 2004 06:05 pm I am developing an application for which I'd really like to include JavaScript automation. The one missing feature that makes me hesitate is the lack of a "package" declation in all current JS 1.5 implementations. I know that packages will be forthcoming in JS 2.0, but I'd rather not wait until then. I'd like to create packages of useful functions that my users could call from their own scripts. And, yes, I could write those in C and make them available through JS objects, but I'd like my users to be able to contribute and share scripts (without having to know how to write code in C). What kinds of workarounds can you suggest to overcome the lack of packages in JS 1.5? .