title: Getting Error Uncaught TypeError: Cannot read property 'defaults' of undefined in datatable
body: <p>I am using require and datatable. I have written the following code for datatable to work:</p>
  
  <pre><code>require.config({
      paths : {
          bootstrap : 'lib/bootstrap',
          jquery : 'lib/jquery-1-9-0-min',
          datatable:'lib/jquery.dataTables',
          datatablebootstrapDT:'lib/DT_bootstrap',
      },
      shim : {
          bootstrap : {
              deps : [ 'jquery' ],
              exports : 'Bootstrap'
          },
          datatable:{
              deps : [ 'jquery' ],
              exports : 'DataTable',
          },
          datatablebootstrapDT:{
              deps : [ 'jquery', 'bootstrap', 'datatablebootstrap' ],
              exports : 'DatatablebootstrapDT'
          },
      }
  });
  </code></pre>
  
  <p>I am getting following error: </p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot read property 'defaults' of undefined  in dataTables.bootstrap.js:2 </p>
  </blockquote>
  
  <p>below is the code at line 2</p>
  
  <pre><code>$.extend( true, $.fn.dataTable.defaults, {
  </code></pre>
  
  <p>I googled a lot for this but no luck.</p>