title: Execute javascript before a //=require occurs
body: <p>Using Rails 3.2.0 with haml, sass and coffeescript:
  Basically I am trying to disable jQuery_Mobile loading pages with ajax without having to include a buch of javascript within any of my views.  </p>
  
  <p>I tried this:</p>
  
  <pre><code>13 //= require jquery¬
  14 //= require jquery_ujs¬
  15 //= require_tree .¬
  16 $(document).bind("mobileinit", function() {¬
  17   $.mobile.ajaxEnabled = false;¬
  18 });¬
  19 //= require jquery_mobile¬
  </code></pre>
  
  <p>with no success, I don't completely understand the chain of events when <code>= javascript_include_tag "application"¬</code> is called and what <code>// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD GO AFTER THE REQUIRES BELOW.¬</code> means?</p>