Determine when all init functions have completed?
<p>We have a JavaScript/JQuery page with a number of "initialization functions" a la:</p>

<pre><code>$(function(){
  //Do stuff
}
</code></pre>

<p>Is there a programmatic way you can determine when all these methods have completed running?  </p>

<p>We could set a boolean variable to true in the last function()...  was wondering if there was a more elegant way.</p>

<p>??</p>
