JS Jquery Namespace Calling Functions
<p>Ok terrible title but I couldn't think of another description.</p>

<p>I have the following code:</p>

<pre><code>jQuery( document ).ready( function( $ ) 
{
    $.myNamespace = {
          init: function()
          {

             $('.button').click(function() {
                  this.anotherFunction();
             });
          },
          anotherFunction: function()
          {
               alert('insidefunction');
          }
    }
    $.myNamespace.init();
});
</code></pre>

<p>As you can see I am trying to call anotherFunction from inside init and have there the two ways I tried but didn't work.  So how am I able to call that function or is my concept wrong?</p>
