Dealing with possible namespace clashes

Giganews Newsgroups
Subject: Dealing with possible namespace clashes
Posted by:  Richard A. DeVenezia (radeve…
Date: Thu, 4 Sep 2003

Any recommendations for deploying small to middling JavaScript system that
encompasses 10-20 functions ?

The problem is the potential that another other JavaScript system running on
the same page wanting to use the same function name(s)  as those in my
system.  I don't want to redefine that other systems functions, nor have
mine redefined.

So, is there any sort of 'package' concept

or Should I wrap _all_ my stuff into _one_ class and deploy that.  Then only
one identifer has to be considered  and changed if namespace clashing would

Not sure what memory/speed hits might be encountered.

Richard A. DeVenezia