Just a stuff to store all my JavaScript utilities
A class to create namespaces for classes without needing to hard-code namespaces, eg:
jsutils.Namespace('path.to.name.space', {anything : true});
...Will create the object 'path.to.name.space
' with the object defined in the method signature.
The class will throw an error if you attempt to create an object with the same namespace as an existing object
// Will create path.to.name successfully
jsutils.Namespace('path.to.name', {stuff : true});
// Will create path.to.name.space successfully
jsutils.Namespace('path.to.name.space', {anything : true});
// Will throw an error
jsutils.Namespace('path.to.name.space', {anything : true});