/[projects]/misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/4_server-side/sAjaxSource.js
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/4_server-side/sAjaxSource.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download) (as text)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File MIME type: application/javascript
File size: 584 byte(s)
initial import
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 "bServerSide": true,
10 "sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
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/server_side/scripts/server_processing.php";
19 }
20 );
21
22 oTest.fnComplete();
23 } );

  ViewVC Help
Powered by ViewVC 1.1.20