title: convert js to coffeescript
body: <p>My question is how would I would convert the following javascript to coffeescript for a rails project using datatables:</p>
  
  <pre><code>$.extend( $.fn.dataTableExt.oStdClasses, {
    "sWrapper": "dataTables_wrapper form-inline"
  } );
  </code></pre>
  
  <p>... this works:</p>
  
  <pre><code>jQuery -&gt;
    $('#logs').dataTable
      bJQueryUI: true
      sDom: "&lt;'row'&lt;'span6'l&gt;&lt;'span6'f&gt;r&gt;t&lt;'row'&lt;'span6'i&gt;&lt;'span6'p&gt;&gt;"
      sPaginationType: "full_numbers"
      oLanguage: "sLengthMenu": "_MENU_ records per page"
  </code></pre>
  
  <p>The $.extend javascript is from the DataTables web site that's needed to 
  use Twitter Bootstrap with DataTables, and I just can't figure out how 
  to convert that to coffeescript.</p>
  
  <p><strong>Update</strong>:
  For anyone encountering this issue, just use the gem "jquery-datatables-rails" 
  which makes it easy to include DataTables in a Rails app and it supports 
  Twitter Bootstrap.</p>