How to get a reference to a Module?
<p>I am trying to encapsulate some code using the Module Pattern. The problem is I can't get a reference to it. I get the following error</p>

<blockquote>
  <p>Message: 'plannerTab.getConfig' is
  null or not an object Line: 14 Char: 5
  Code: 0</p>
</blockquote>

<p><strong>Code</strong></p>

<pre><code>/*  Document Ready */
$(function ()
{
    /* get config */
    var config = plannerTab.getConfig;
});



/* Module */
var plannerTab = (function ()
{
    var config = {
        tableId: '#plannerTable'

    };

   return
   {
      getConfig: config
   };

})();
</code></pre>
