Add datatables-1.9.4 and jquery-1.10.2 libraries
[proteocache.git] / webapp / resources / datatables-1.9.4 / media / unit_testing / tests_onhold / 6_delayed_rendering / sAjaxSource.js
1 // DATA_TEMPLATE: empty_table
2 oTest.fnStart( "sAjaxSource" );
3
4 /* Sanitfy check really - all the other tests blast this */
5
6 $(document).ready( function () {
7         /* Check the default */
8         var oTable = $('#example').dataTable( {
9                 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
10                 "bDeferRender": true
11         } );
12         var oSettings = oTable.fnSettings();
13         
14         oTest.fnWaitTest( 
15                 "Server side is off by default",
16                 null,
17                 function () { 
18                         return oSettings.sAjaxSource == "../../../examples/ajax/sources/arrays.txt";
19                 }
20         );
21         
22         oTest.fnComplete();
23 } );