code
string
repo_name
string
path
string
language
string
license
string
size
int64
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/deferred_table.php
PHP
asf20
3,546
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/dom_data_th.php
PHP
asf20
10,965
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/complex_header_2.php
PHP
asf20
11,441
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/dom_data.php
PHP
asf20
10,965
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/html_table.php
PHP
asf20
2,107
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/empty_table.php
PHP
asf20
1,795
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/js_data.php
PHP
asf20
5,194
<?php header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); header( 'Cache-Control: no-store, no-cache, must-revalidate' ); header( 'Cache-Control: post-check=0, pre-check=0', false ); header( 'Pragma: no-cache' ); ?><!DOCTYPE HTML PUBLIC "-//W3...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/templates/two_tables.php
PHP
asf20
5,280
/* * File: unit_test.js * Version: 0.0.1 * CVS: $Id$ * Description: Unit test framework * Author: Allan Jardine (www.sprymedia.co.uk) * Created: Sun Mar 8 22:02:49 GMT 2009 * Modified: $Date$ by $Author$ * Language: Javascript * License: GPL v2 or BSD 3 point style * Pro...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/unit_test.js
JavaScript
asf20
8,887
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico" /> <title>DataTables example</title> <style t...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/performance/draw.html
HTML
asf20
11,241
<?php /* MySQL connection */ include( $_SERVER['DOCUMENT_ROOT']."/datatables/mysql.php" ); /* ;-) */ $gaSql['link'] = mysql_pconnect( $gaSql['server'], $gaSql['user'], $gaSql['password'] ) or die( 'Could not open connection to server' ); mysql_select_db( $gaSql['db'], $gaSql['link'] ) or die( 'Could not...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/performance/large.php
PHP
asf20
3,074
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico" /> <title>DataTables example</title> <style t...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/performance/page.html
HTML
asf20
11,047
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico" /> <title>DataTables example</title> <style t...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/performance/sort.html
HTML
asf20
11,037
// DATA_TEMPLATE: dom_data oTest.fnStart( "Sanity checks for DataTables with DOM data" ); oTest.fnTest( "jQuery.dataTable function", null, function () { return typeof jQuery().dataTable == "function"; } ); oTest.fnTest( "jQuery.dataTableSettings storage array", null, function () { return typeof jQuery().dataTa...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests/1_dom/_zero_config.js
JavaScript
asf20
13,331
// DATA_TEMPLATE: empty_table oTest.fnStart( "fnRowCallback" ); /* Note - fnRowCallback MUST return the first arguments (modified or not) */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender"...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/fnRowCallback.js
JavaScript
asf20
2,715
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.fnRender" ); $(document).ready( function () { /* Check the default */ var mTmp = 0; var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true, "aoColumns": [ null, { "fnRender": functio...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.fnRender.js
JavaScript
asf20
4,018
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sProcessing" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true, "bProcessing": true } ); var oSettings = oTable.fnSettings...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sProcessing.js
JavaScript
asf20
1,314
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.sWidth" ); /* NOTE - we need to disable the auto width for the majority of these test in order to preform * these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests * with auto width enabled however to ensure it scales co...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sWidth.js
JavaScript
asf20
2,183
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.bVisible" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bVisible.js
JavaScript
asf20
3,148
// DATA_TEMPLATE: empty_table oTest.fnStart( "bSortClasses" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Sorting classes are applied by default", null, fun...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bSortClasses.js
JavaScript
asf20
4,169
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sSearch" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sSearch.js
JavaScript
asf20
1,782
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.sTitle" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sTitle.js
JavaScript
asf20
2,143
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sInfoPostFix" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTes...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoPostFix.js
JavaScript
asf20
2,264
// DATA_TEMPLATE: empty_table oTest.fnStart( "bProcessing" ); /* It's actually a bit hard to set this one due to the fact that it will only be shown * when DataTables is doing some kind of processing. The server-side processing is a bit * better to test this than here - so we just the interal functions to enable it ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bProcessing.js
JavaScript
asf20
3,321
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.iDataSort" ); $(document).ready( function () { /* Should know that sorting already works by default from other tests, so we can jump * right in here */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.iDataSort.js
JavaScript
asf20
2,631
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.bUseRendered" ); /* bUseRendered is used to alter sorting data, if false then the original data is used for * sorting rather than the rendered data */ $(document).ready( function () { /* Check the default */ var mTmp = 0; var oTable = $('#example').dataTa...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bUseRendered.js
JavaScript
asf20
3,609
// DATA_TEMPLATE: empty_table oTest.fnStart( "bLengthChange" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Length div exists by default", null, function () ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bLengthChange.js
JavaScript
asf20
1,973
// DATA_TEMPLATE: empty_table oTest.fnStart( "sPaginationType" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( "...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/sPaginationType.js
JavaScript
asf20
3,200
// DATA_TEMPLATE: empty_table oTest.fnStart( "oSearch" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( "Default ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oSearch.js
JavaScript
asf20
2,914
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.sClass" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sClass.js
JavaScript
asf20
3,297
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.sName" ); /* This has no effect at all in DOM methods - so we just check that it has applied the name */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.tx...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.sName.js
JavaScript
asf20
653
// DATA_TEMPLATE: empty_table oTest.fnStart( "fnInitComplete" ); /* Fairly boring function compared to the others! */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSett...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/fnInitComplete.js
JavaScript
asf20
2,240
// DATA_TEMPLATE: empty_table oTest.fnStart( "fnServerData for Ajax sourced data" ); $(document).ready( function () { var mPass; oTest.fnTest( "Argument length", function () { $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true, "fnServerD...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/fnServerData.js
JavaScript
asf20
1,551
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sInfo" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( "...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfo.js
JavaScript
asf20
3,404
// DATA_TEMPLATE: empty_table oTest.fnStart( "sDom" ); /* This is going to be brutal on the browser! There is a lot that can be tested here... */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRe...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/sDom.js
JavaScript
asf20
7,624
// DATA_TEMPLATE: empty_table oTest.fnStart( "asStripeClasses" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Default row striping is applied", null, functio...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/asStripClasses.js
JavaScript
asf20
3,147
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.bSeachable" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest(...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSearchable.js
JavaScript
asf20
2,119
// DATA_TEMPLATE: empty_table oTest.fnStart( "fnHeaderCallback" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); var mPass, bInit; oT...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/fnHeaderCallback.js
JavaScript
asf20
4,601
// DATA_TEMPLATE: empty_table oTest.fnStart( "bPaginate" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Pagiantion div exists by default", null, function () ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bPaginate.js
JavaScript
asf20
1,543
// DATA_TEMPLATE: empty_table oTest.fnStart( "bAutoWidth" ); /* It's actually a little tricky to test this. We can't test absolute numbers because * different browsers and different platforms will render the width of the columns slightly * differently. However, we certainly can test the principle of what should happ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bAutoWidth.js
JavaScript
asf20
3,978
// DATA_TEMPLATE: empty_table oTest.fnStart( "Custom data source property - array only" ); $(document).ready( function () { var oInit = { "sAjaxSource": "../../../examples/ajax/sources/array_only.txt", "bDeferRender": true, "sAjaxDataProp": "" }; $('#example').dataTable( oInit ); oTest.fnWaitTest( "10 ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp2.js
JavaScript
asf20
4,237
// DATA_TEMPLATE: empty_table oTest.fnStart( "bFilter" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Filtering div exists by default", null, function () { r...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bFilter.js
JavaScript
asf20
1,126
// DATA_TEMPLATE: empty_table oTest.fnStart( "aaSorting" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( "Defaul...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aaSorting.js
JavaScript
asf20
5,769
// DATA_TEMPLATE: empty_table oTest.fnStart( "fnDrawCallback" ); /* Fairly boring function compared to the others! */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSett...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/fnDrawCallback.js
JavaScript
asf20
2,225
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sInfoEmpty" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest(...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sInfoEmpty.js
JavaScript
asf20
2,169
// 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 o...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxSource.js
JavaScript
asf20
549
// DATA_TEMPLATE: empty_table oTest.fnStart( "iDisplayLength" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Default length is ten", null, function () { retu...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/iDisplayLength.js
JavaScript
asf20
1,909
// DATA_TEMPLATE: empty_table oTest.fnStart( "bServerSide" ); /* Not interested in server-side processing here other than to check that it is off */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDefe...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bServerSide.js
JavaScript
asf20
542
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sZeroRecords" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTes...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sZeroRecords.js
JavaScript
asf20
1,382
// DATA_TEMPLATE: empty_table oTest.fnStart( "Sanity checks for DataTables with delayed DOM creation" ); $(document).ready( function () { var oInit = { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true }; $('#example').dataTable( oInit ); oTest.fnWaitTest( "10 rows shown on ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/_zero_config.js
JavaScript
asf20
12,623
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.oPaginate" ); /* Note that the paging language information only has relevence in full numbers */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "b...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.oPaginate.js
JavaScript
asf20
2,273
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoColumns.bSortable" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoColumns.bSortable.js
JavaScript
asf20
2,902
// DATA_TEMPLATE: empty_table oTest.fnStart( "bSort" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Sorting is on by default", null, function () { return $('...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bSort.js
JavaScript
asf20
2,687
// DATA_TEMPLATE: empty_table oTest.fnStart( "Custom data source property - property given" ); $(document).ready( function () { var oInit = { "sAjaxSource": "../../../examples/ajax/sources/custom_prop.txt", "bDeferRender": true, "sAjaxDataProp": "demo" }; $('#example').dataTable( oInit ); oTest.fnWaitTest...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/sAjaxDataProp.js
JavaScript
asf20
4,246
// DATA_TEMPLATE: empty_table oTest.fnStart( "bInfo" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); oTest.fnWaitTest( "Info div exists by default", null, function () { return d...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/bInfo.js
JavaScript
asf20
1,100
// DATA_TEMPLATE: empty_table oTest.fnStart( "aoSearchCols" ); /* We could be here forever testing this one, so we test a limited subset on a couple of colums */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.t...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aoSearchCols.js
JavaScript
asf20
3,560
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sLengthMenu" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sLengthMenu.js
JavaScript
asf20
2,786
// DATA_TEMPLATE: empty_table oTest.fnStart( "oLanguage.sUrl" ); /* Note that we only test the internal storage of language information pulled form a file here * as the other language tests will check it goes into the DOM correctly */ $(document).ready( function () { /* Check the default */ var oTable = $('#examp...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/oLanguage.sUrl.js
JavaScript
asf20
2,049
// DATA_TEMPLATE: empty_table oTest.fnStart( "aaSortingFixed" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "sAjaxSource": "../../../examples/ajax/sources/arrays.txt", "bDeferRender": true } ); var oSettings = oTable.fnSettings(); oTest.fnWaitTest( "N...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/6_delayed_rendering/aaSortingFixed.js
JavaScript
asf20
1,935
// DATA_TEMPLATE: dom_data oTest.fnStart( "fnRowCallback" ); /* Note - fnRowCallback MUST return the first arguments (modified or not) */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); var mPass; oTest.fnTest( "Default sh...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnRowCallback.js
JavaScript
asf20
2,147
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.fnRender" ); $(document).ready( function () { /* Check the default */ var mTmp = 0; var oTable = $('#example').dataTable( { "aoColumns": [ null, { "fnRender": function (a) { mTmp++; return a.aData[a.iDataColumn]; } }, null, null, null ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.fnRender.js
JavaScript
asf20
3,364
// DATA_TEMPLATE: complex_header_2 oTest.fnStart( "aoColumns.bVisible with complex headers" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "All columns are visible by default", null, function () { retur...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible2.js
JavaScript
asf20
6,507
// DATA_TEMPLATE: dom_data oTest.fnStart( "oLanguage.sProcessing" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "bProcessing": true } ); var oSettings = oTable.fnSettings(); oTest.fnTest( "Processing language is 'Processing...' by default", null, fu...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sProcessing.js
JavaScript
asf20
1,127
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.sWidth" ); /* NOTE - we need to disable the auto width for the majority of these test in order to preform * these tests as the auto width will convert the width to a px value. We can do 'non-exact' tests * with auto width enabled however to ensure it scales colum...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.sWidth.js
JavaScript
asf20
1,902
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.bVisible" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "All columns are visible by default", null, function () { return $('#example tbody tr:eq(0) ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.bVisible.js
JavaScript
asf20
3,157
// DATA_TEMPLATE: 6776 oTest.fnStart( "Actions on a scrolling table keep width" ); $(document).ready( function () { var oTable = $('#example').dataTable( { "bFilter": true, "bSort": true, "sScrollY": "100px", "bPaginate": false } ); var iWidth = $('div.dataTables_wrapper').width()...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/6776-scrolling-table-grows.js
JavaScript
asf20
1,827
// DATA_TEMPLATE: dom_data oTest.fnStart( "bSortClasses" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable(); oTest.fnTest( "Sorting classes are applied by default", null, function () { return $('#example tbody tr:eq(0) td:eq(0)').hasClass('sorting_1'); } ); oTest.fnTe...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bSortClasses.js
JavaScript
asf20
3,847
// DATA_TEMPLATE: dom_data oTest.fnStart( "oLanguage.sSearch" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Search language is 'Search:' by default", null, function () { return oSettings.oLanguage.sSe...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sSearch.js
JavaScript
asf20
1,490
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.sTitle" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Column names are read from the DOM by default", null, function () { var jqNodes = $('#exam...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.sTitle.js
JavaScript
asf20
1,855
// DATA_TEMPLATE: dom_data oTest.fnStart( "oLanguage.sInfoPostFix" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Info post fix language is '' (blank) by default", null, function () { return oSettings....
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sInfoPostFix.js
JavaScript
asf20
1,884
// DATA_TEMPLATE: dom_data oTest.fnStart( "2746 - Stable sorting" ); $(document).ready( function () { $('#example').dataTable(); oTest.fnTest( "Initial sort", null, function () { var ret = $('#example tbody tr:eq(0) td:eq(0)').html() == 'Gecko' && $('#example tbody tr:eq(1) td:eq(0)').html() == '...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2746-stable-sort.js
JavaScript
asf20
6,214
// DATA_TEMPLATE: dom_data oTest.fnStart( "bProcessing" ); /* It's actually a bit hard to set this one due to the fact that it will only be shown * when DataTables is doing some kind of processing. The server-side processing is a bit * better to test this than here - so we just the interal functions to enable it and...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bProcessing.js
JavaScript
asf20
3,003
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.iDataSort" ); $(document).ready( function () { /* Should know that sorting already works by default from other tests, so we can jump * right in here */ var oTable = $('#example').dataTable( { "aoColumns": [ null, { "iDataSort": 4 }, null, null, ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.iDataSort.js
JavaScript
asf20
2,416
// DATA_TEMPLATE: dom_data oTest.fnStart( "2840 - Restore table width on fnDestroy" ); $(document).ready( function () { document.cookie = ""; $('#example').dataTable( { "sScrollX": "100%", "sScrollXInner": "110%" } ); $('#example').dataTable().fnDestroy(); oTest.fnTest( "Width after destroy", null, f...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2840-restore-table-width.js
JavaScript
asf20
405
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.bUseRendered" ); /* bUseRendered is used to alter sorting data, if false then the original data is used for * sorting rather than the rendered data */ $(document).ready( function () { /* Check the default */ var mTmp = 0; var oTable = $('#example').dataTable...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.bUseRendered.js
JavaScript
asf20
3,284
// DATA_TEMPLATE: dom_data oTest.fnStart( "bLengthChange" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable(); oTest.fnTest( "Length div exists by default", null, function () { return document.getElementById('example_length') != null; } ); oTest.fnTest( "Four default...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bLengthChange.js
JavaScript
asf20
1,671
// DATA_TEMPLATE: dom_data oTest.fnStart( "Check behaviour of the data get functions that DataTables uses" ); $(document).ready( function () { // Slightly unusual test set this one, in that we don't really care about the DOM // but want to test the internal data handling functions but we do need a table to // get a...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/_getDataFunctions.js
JavaScript
asf20
7,882
// DATA_TEMPLATE: dom_data oTest.fnStart( "iDraw - check that iDraw increments for each draw" ); $(document).ready( function () { var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "After first draw, iDraw is 1", null, function () { return oSettings.iDraw == 1; } )...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/-iDraw.js
JavaScript
asf20
889
// DATA_TEMPLATE: dom_data oTest.fnStart( "sPaginationType" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Check two button paging is the default", null, function () { return oSettings.sPaginationType ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/sPaginationType.js
JavaScript
asf20
2,822
// DATA_TEMPLATE: dom_data oTest.fnStart( "oSearch" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Default values should be blank", null, function () { var bReturn = oSettings.oPreviousSearch.sSearc...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oSearch.js
JavaScript
asf20
2,342
// DATA_TEMPLATE: dymanic_table oTest.fnStart( "2530 - Check width's when dealing with empty strings" ); $(document).ready( function () { $('#example').dataTable( { "aaData": [ ['','Internet Explorer 4.0','Win 95+','4','X'], ['','Internet Explorer 5.0','Win 95+','5','C'] ], "aoColumns": [ { "sTitle": ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2530.js
JavaScript
asf20
684
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.sClass" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "By default the test class hasn't been applied to the column (sanity!)", null, function () { r...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.sClass.js
JavaScript
asf20
2,975
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.sName" ); /* This has no effect at all in DOM methods - so we just check that it has applied the name */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "aoColumns": [ null, null, null, { "sName": 'un...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.sName.js
JavaScript
asf20
560
// DATA_TEMPLATE: dom_data oTest.fnStart( "fnInitComplete" ); /* Fairly boring function compared to the others! */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); var mPass; oTest.fnTest( "Default should be null", null, ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnInitComplete.js
JavaScript
asf20
1,781
// DATA_TEMPLATE: dom_data oTest.fnStart( "Check behaviour of the data set functions that DataTables uses" ); $(document).ready( function () { // Slightly unusual test set this one, in that we don't really care about the DOM // but want to test the internal data handling functions but we do need a table to // get a...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/_setDataFunctions.js
JavaScript
asf20
3,737
// DATA_TEMPLATE: dom_data oTest.fnStart( "bInfiniteScroll" ); $(document).ready( function () { var oTable = $('#example').dataTable( { "bScrollInfinite": true, "sScrollY": "200px" } ); oTest.fnTest( "10 rows by default", null, function () { return $('#example tbody tr').length == 10; } ); oTest.f...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bInfiniteScroll.js
JavaScript
asf20
3,168
// DATA_TEMPLATE: empty_table oTest.fnStart( "5396 - fnUpdate with 2D arrays for a single row" ); $(document).ready( function () { $('#example thead tr').append( '<th>6</th>' ); $('#example thead tr').append( '<th>7</th>' ); $('#example thead tr').append( '<th>8</th>' ); $('#example thead tr').append( '<th>9</th>'...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/5396-fnUpdate-arrays-mData.js
JavaScript
asf20
2,403
// DATA_TEMPLATE: dom_data oTest.fnStart( "2914 - State saving with an empty array" ); $(document).ready( function () { document.cookie = ""; $('#example').dataTable( { "bStateSave": true, "aaSorting": [] } ); oTest.fnTest( "No sort", null, function () { return $('#example tbody td:eq(3)').html() == "...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2914-state-save-sort.js
JavaScript
asf20
903
// DATA_TEMPLATE: dom_data_two_headers oTest.fnStart( "bSortCellsTop" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Sorting class is on the bottom cells by default", null, function () { return $('#exa...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bSortCellsTop.js
JavaScript
asf20
2,370
// DATA_TEMPLATE: dom_data oTest.fnStart( "oLanguage.sInfo" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Info language is 'Showing _START_ to _END_ of _TOTAL_ entries' by default", null, function () ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/oLanguage.sInfo.js
JavaScript
asf20
2,742
// DATA_TEMPLATE: dom_data oTest.fnStart( "fnInfoCallback checks" ); $(document).ready( function () { var mPass; $('#example').dataTable(); /* Basic checks */ oTest.fnTest( "null by default", null, function () { return $('#example').dataTable().fnSettings().oLanguage.fnInfoCallback == null; } ); oTe...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnInfoCallback.js
JavaScript
asf20
2,404
// DATA_TEMPLATE: dom_data oTest.fnStart( "sDom" ); /* This is going to be brutal on the browser! There is a lot that can be tested here... */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Default DOM varai...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/sDom.js
JavaScript
asf20
8,253
// DATA_TEMPLATE: two_tables oTest.fnStart( "Initialise two tables" ); $(document).ready( function () { $('table.display').dataTable(); oTest.fnTest( "Check that initialisation was okay", null, function () { return true; } ); oTest.fnComplete(); } );
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/2799.js
JavaScript
asf20
266
// DATA_TEMPLATE: dom_data oTest.fnStart( "asStripeClasses" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable(); oTest.fnTest( "Default row striping is applied", null, function () { return $('#example tbody tr:eq(0)').hasClass('odd') && $('#example tbody tr:eq...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/asStripClasses.js
JavaScript
asf20
2,975
// DATA_TEMPLATE: dom_data oTest.fnStart( "aoColumns.bSeachable" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); oTest.fnTest( "Columns are searchable by default", function () { oTable.fnFilter("Camino"); }, function ...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/aoColumns.bSearchable.js
JavaScript
asf20
1,743
// DATA_TEMPLATE: dom_data oTest.fnStart( "5508 - Table container width doesn't change when filtering applied to scrolling table" ); $(document).ready( function () { $('#example').dataTable( { "sScrollY": "300px", "bPaginate": false } ); oTest.fnTest( "Width of container 800px on init with scroll", null,...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/5508-xscroll-zero-content.js
JavaScript
asf20
615
// DATA_TEMPLATE: dom_data oTest.fnStart( "fnCreatedRow tests" ); $(document).ready( function () { var tmp = 0; $('#example').dataTable( { fnCreatedRow: function () { tmp++; } } ); oTest.fnTest( "Row created is called once for each row on init", null, function () { return tmp===57; } ); oTest....
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnCreatedRow.js
JavaScript
asf20
2,103
// DATA_TEMPLATE: dom_data oTest.fnStart( "fnHeaderCallback" ); $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable(); var oSettings = oTable.fnSettings(); var mPass; oTest.fnTest( "Default should be null", null, function () { return oSettings.fnHeaderCallback ==...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnHeaderCallback.js
JavaScript
asf20
4,524
// DATA_TEMPLATE: dom_data oTest.fnStart( "bPaginate" ); $(document).ready( function () { /* Check the default */ $('#example').dataTable(); oTest.fnTest( "Pagiantion div exists by default", null, function () { return document.getElementById('example_paginate') != null; } ); oTest.fnTest( "Informatio...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/bPaginate.js
JavaScript
asf20
1,249
// DATA_TEMPLATE: dom_data oTest.fnStart( "Cookie callback" ); $(document).ready( function () { var mPass; /* Note that in order to be fully effective here for saving state, there would need to be a * stringify function to serialise the data array */ oTest.fnTest( "null by default", function () { $('...
zy-account-manage-system
trunk/account-system/js/plugins/datatables/unit_testing/tests_onhold/1_dom/fnCookieCallback.js
JavaScript
asf20
2,330