Update - examples: All examples now use $().DataTable() to construct the table.

- The API examples already used the new form, but many were still
  `$().dataTable()`, which still works, but the new API form method is
  prefered.
This commit is contained in:
Allan Jardine
2015-08-10 14:57:47 +01:00
parent ecf94192ae
commit 781f7fcaef
65 changed files with 129 additions and 129 deletions

View File

@@ -19,7 +19,7 @@
<script type="text/javascript" language="javascript" class="init">
$(document).ready(function() {
$('#example').dataTable( {
$('#example').DataTable( {
"dom": '<"top"i>rt<"bottom"flp><"clear">'
} );
} );
@@ -600,7 +600,7 @@ $(document).ready(function() {
<div class="tabs">
<div class="js">
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$('#example').dataTable( {
$('#example').DataTable( {
&quot;dom&quot;: '&lt;&quot;top&quot;i&gt;rt&lt;&quot;bottom&quot;flp&gt;&lt;&quot;clear&quot;&gt;'
} );
} );</code>