View file charisma-master/bower_components/datatables/media/unit_testing/tests_onhold/1_dom/sAjaxSource.js

File size: 420B
// DATA_TEMPLATE: dom_data
oTest.fnStart( "sAjaxSource" );

/* Not interested in ajax source here other than to check it's default */

$(document).ready( function () {
	/* Check the default */
	var oTable = $('#example').dataTable();
	var oSettings = oTable.fnSettings();
	
	oTest.fnTest( 
		"Server side is off by default",
		null,
		function () { return oSettings.sAjaxSource == null; }
	);
	
	oTest.fnComplete();
} );