From 5c9d54e6f51595206b50af6466b400192d54ff2a Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 14 Nov 2013 17:07:57 +0000 Subject: [PATCH] Api: table().header() and table().footer() methods for naming consistency - The columns() methods have header() and footer() children to get the header and footer cells for the columns. For naming consistency the table() methods should be named likewise --- .datatables-commit-sync | 2 +- media/js/jquery.dataTables.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 1429728f..8efdb3ca 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -ea1d3f052c625f35711c8256b3ef43234edeb84b +d1221f86def93ca4d1bdf526a7812d2d64891967 diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index f032b8c7..bf6a9ed9 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -6843,14 +6843,14 @@ } ); - _api_registerPlural( 'tables().head()', 'table().head()' , function () { + _api_registerPlural( 'tables().header()', 'table().header()' , function () { return this.iterator( 'table', function ( ctx ) { return ctx.nTHead; } ); } ); - _api_registerPlural( 'tables().foot()', 'table().foot()' , function () { + _api_registerPlural( 'tables().footer()', 'table().footer()' , function () { return this.iterator( 'table', function ( ctx ) { return ctx.nTFoot; } );