/[projects]/misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/2_js/bServerSide.js
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/2_js/bServerSide.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, 2 months ago) by torben
File MIME type: application/javascript
File size: 469 byte(s)
initial import
1 // DATA_TEMPLATE: js_data
2 oTest.fnStart( "bServerSide" );
3
4 /* Not interested in server-side processing here other than to check that it is off */
5
6 $(document).ready( function () {
7 /* Check the default */
8 var oTable = $('#example').dataTable( {
9 "aaData": gaaData
10 } );
11 var oSettings = oTable.fnSettings();
12
13 oTest.fnTest(
14 "Server side is off by default",
15 null,
16 function () { return oSettings.oFeatures.bServerSide == false; }
17 );
18
19 oTest.fnComplete();
20 } );

  ViewVC Help
Powered by ViewVC 1.1.20