title: Does jQuery ready() fire after all JS files has been loaded/executed
body: <p>I have some JS files directly executing functions.
  It is done with the module pattern (described here: //<a href="http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth" rel="nofollow">http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth</a>).
  So this actually means we have an anonymous self calling function defining our object which all objects holds/encapsulates.</p>
  
  <p>It seems that these self calling functions are not necessarily executed before jquery's ready function.</p>
  
  <ol>
  <li>Is this true?</li>
  </ol>
  
  <p>If we have several files with this pattern:</p>
  
  <p>module_part1.js</p>
  
  <pre><code>    var MODULE = (function (my) {
      my.oneFunc = function () {
      // added method...
      };
        return my;
     }(MODULE));
  </code></pre>
  
  <p>module_part2.js</p>
  
  <pre><code>    var MODULE = (function (my) {
      my.twoFunc = function () {
      // added method...
      };
        return my;
     }(MODULE));
  </code></pre>
  
  <p>Can we be sure that on jQuery's read function the function <code>Module.twoFunc</code> is not undefied?</p>