Add datatables-1.9.4 and jquery-1.10.2 libraries
[proteocache.git] / webapp / resources / datatables-1.9.4 / media / unit_testing / tests_onhold / 3_ajax / 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         } );
11         var oSettings = oTable.fnSettings();
12         
13         oTest.fnWaitTest( 
14                 "Server side is off by default",
15                 null,
16                 function () { 
17                         return oSettings.sAjaxSource == "../../../examples/ajax/sources/arrays.txt";
18                 }
19         );
20         
21         oTest.fnComplete();
22 } );