Mercurial > repos > saskia-hiltemann > ireport
view DataTables-1.9.4/media/unit_testing/tests_onhold/6_delayed_rendering/sAjaxSource.js @ 2:e8755431a0cd draft
fixed missing dependencies
author | saskia-hiltemann |
---|---|
date | Tue, 30 Sep 2014 09:47:14 -0400 |
parents | ac5f9272033b |
children |
line wrap: on
line source
// DATA_TEMPLATE: empty_table oTest.fnStart( "sAjaxSource" ); /* Sanitfy check really - all the other tests blast this */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( "Server side is off by default", null, function () { return oSettings.sAjaxSource == "../../../examples/ajax/sources/arrays.txt"; } ); oTest.fnComplete(); } );