dev: Make examples match the actual code

Jira Issue DD-2070
pull/527/head
SandyDatatables 3 years ago
parent 3195490f51
commit b6fb65c68a

@ -56,7 +56,9 @@
$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: true,
search:{return: true}
search: {
return: true
}
});
} );
@ -570,7 +572,9 @@ $(document).ready(function() {
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: true,
search:{return: true}
search: {
return: true
}
});
} );</code>
</div>

@ -637,14 +637,12 @@ $(document).ready(function() {
</table>
</div>
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
threshold: 0.1
}
});
} );
} );</code>
</div>
</section>

@ -632,14 +632,12 @@ $(document).ready(function() {
</table>
</div>
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
$(document).ready(function() {
var table = $('#example').DataTable({
fuzzySearch: {
rankColumn: 6,
toggleSmart: true
}
});
} );
} );</code>
</div>
</section>

Loading…
Cancel
Save