title: JQuery - No Conflict or closure
body: <p>I am writing an application at the moment that uses jquery.  It fits in to an existing application that uses prototype so obviously I cant use the dollar sign straight away.</p>
  
  <p>I have been using noconflict to get around this but couldnt I just wrap my whole script inside a closure passing in jquery as in:</p>
  
  <pre><code>(function( $ ){
  
  })( jQuery );
  </code></pre>
  
  <p>This seems to work but I am wondering if there are any consequences to this?</p>