title: windows.jQuery versus jQuery as a parameter
body: <p>I'm trying to protect my jquery code from global scope and I decided to use encapsulation. However, I see some developers put window.jQuery and some just jQuery as a parameter. What's the difference between the two? </p>
  
  <pre><code>(function ($) {
  
  }(window.jQuery));
  
  //versus
  
  (function ($) {
  
  }(jQuery));
  </code></pre>