1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

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
This commit is contained in:
Allan Jardine 2013-11-14 17:07:57 +00:00
parent b956a69271
commit 5c9d54e6f5
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
ea1d3f052c625f35711c8256b3ef43234edeb84b
d1221f86def93ca4d1bdf526a7812d2d64891967

View File

@ -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;
} );