JavaScript Namespace with jQuery
<p>How do you manage namespace for a custom JavaScript library depends on jQuery?</p>

<p>Do you create your own namespace, say <code>foo</code> and add your objects there? e.g. <code>foo.myClass, foo.myFunction</code></p>

<p>Or do you add your objects to jQuery's namespace? e.g. <code>jQuery.myClass, jQuery.myFunction</code></p>

<p>Which is the more common practice and why?</p>
