Merge branch 'Infeligo-dev-delay-init-example' into working

This commit is contained in:
Mottie 2014-02-20 17:13:27 -06:00
commit 2e92c3b3c1
4 changed files with 72676 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1118,7 +1118,7 @@
<div class="next-up">
<hr />
Next up: <a href="example-option-digits.html">Dealing with digits! &rsaquo;&rsaquo;</a>
Next up: <a href="example-option-delay-init.html">Demonstration of delayInit option &rsaquo;&rsaquo;</a>
</div>
</div>

View File

@ -366,6 +366,7 @@
<li><a href="example-multiple-tbodies.html">Sorting with Multiple Tbodies</a> (v2.2)</li>
<li><a href="example-header-column-span.html">Sorting Across Multiple Columns</a> (v2.3)</li>
<li><a href="example-option-show-processing.html">Show a processing icon during sorting/filtering</a> (v2.4)</li>
<li><a href="example-option-delay-init.html">Delay table initialization</a> (<a href="#delayinit"><code>delayinit</code></a>)</li>
</ul>
</li>
</ul>
@ -802,7 +803,7 @@
<td>
Setting this option to true will delay parsing of all table cell data until the user initializes a sort. This speeds up the initialization process of very large tables, but the data still needs to be parsed, so the delay is still present upon initial sort.
</td>
<td><a href="example-option-debug.html">Example</a></td>
<td><a href="example-option-delay-init.html">Example</a></td>
</tr>
<tr id="emptyto">

View File

@ -21,7 +21,7 @@ $(function(){
if ($("#css").length) {
$("pre.lang-css").addClass('mod').html( cleanupCode( $("#css").html() ) );
}
if ($("#demo").length) {
if ($("#demo").length && $("#html pre").length) {
$("#html pre").addClass('mod').html( cleanupCode( $("#demo").html() ) );
}