Jquery - How do you convert the $(document).ready() into a js file?
<p>I have a ton of jquery code in the .ready()  </p>

<pre><code> $(document).ready(function() {
   //jQuery goodness in here.
</code></pre>

<p>How do I take all the code and just make it a .js file so I can just reference the script like any other script? Should i minify it? How do I do that?</p>

<p>I read this post: <a href="http://stackoverflow.com/questions/5834429/enclosing-external-jquery-file-in-document-ready">Enclosing external jQuery file in $(document).ready()</a></p>

<p>But it didn't help because I'm not sure how to actually implement it. Do I just copy the code exactly how it is and save it as a .js file? Then what about the minify process?</p>

<p>Thanks!</p>
