Skip to content

Commit

Permalink
10dacba3ab69306f27acd2d1eeeaafab3f2ed4d2 Fix: Tidy up dates for copyr…
Browse files Browse the repository at this point in the history
…ight message in integration files

Sync to source repo @10dacba3ab69306f27acd2d1eeeaafab3f2ed4d2
  • Loading branch information
dtbuild committed Apr 17, 2024
1 parent 313c7da commit 5dfa148
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.0.4",
"last-sync": "537375f01a4bd4fe342dfe8e1e3bb31ccd6d036d"
"last-sync": "10dacba3ab69306f27acd2d1eeeaafab3f2ed4d2"
}
5 changes: 2 additions & 3 deletions js/dataTables.bootstrap4.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! DataTables Bootstrap 4 integration
* ©2011-2017 SpryMedia Ltd - datatables.net/license
* © SpryMedia Ltd - datatables.net/license
*/

(function( factory ){
Expand Down Expand Up @@ -50,8 +50,7 @@ var DataTable = $.fn.dataTable;


/**
* DataTables integration for Bootstrap 4. This requires Bootstrap 4 and
* DataTables 1.10 or newer.
* DataTables integration for Bootstrap 4.
*
* This file sets the defaults and adds options to DataTables to style its
* controls using Bootstrap. See https://datatables.net/manual/styling/bootstrap
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.bootstrap4.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dataTables.bootstrap4.min.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! DataTables Bootstrap 4 integration
* ©2011-2017 SpryMedia Ltd - datatables.net/license
* © SpryMedia Ltd - datatables.net/license
*/
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;$.extend(!0,DataTable.defaults,{renderer:"bootstrap"}),$.extend(!0,DataTable.ext.classes,{container:"dt-container dt-bootstrap4",search:{input:"form-control form-control-sm"},length:{select:"custom-select custom-select-sm form-control form-control-sm"},processing:{container:"dt-processing card"}}),DataTable.ext.renderer.pagingButton.bootstrap=function(t,e,a,o,n){var r=["dt-paging-button","page-item"],o=(o&&r.push("active"),n&&r.push("disabled"),$("<li>").addClass(r.join(" ")));return{display:o,clicker:$("<a>",{href:n?null:"#",class:"page-link"}).html(a).appendTo(o)}},DataTable.ext.renderer.pagingContainer.bootstrap=function(t,e){return $("<ul/>").addClass("pagination").append(e)},DataTable.ext.renderer.layout.bootstrap=function(t,e,a){var o=$("<div/>",{class:a.full?"row justify-content-md-center":"row justify-content-between"}).appendTo(e);$.each(a,function(t,e){t=e.table?"col-12":"start"===t?"col-md-auto mr-auto":"end"===t?"col-md-auto ml-auto":"col-md";$("<div/>",{id:e.id||null,class:t+" "+(e.className||"")}).append(e.contents).appendTo(o)})};export default DataTable;
5 changes: 2 additions & 3 deletions js/dataTables.bootstrap4.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! DataTables Bootstrap 4 integration
* ©2011-2017 SpryMedia Ltd - datatables.net/license
* © SpryMedia Ltd - datatables.net/license
*/

import jQuery from 'jquery';
Expand All @@ -10,8 +10,7 @@ let $ = jQuery;


/**
* DataTables integration for Bootstrap 4. This requires Bootstrap 4 and
* DataTables 1.10 or newer.
* DataTables integration for Bootstrap 4.
*
* This file sets the defaults and adds options to DataTables to style its
* controls using Bootstrap. See https://datatables.net/manual/styling/bootstrap
Expand Down

0 comments on commit 5dfa148

Please sign in to comment.