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 b4dc5ef commit fe13ee1
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.bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! DataTables Bootstrap 3 integration
* ©2011-2015 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 3. This requires Bootstrap 3 and
* DataTables 1.10 or newer.
* DataTables integration for Bootstrap 3.
*
* 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.bootstrap.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.bootstrap.min.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! DataTables Bootstrap 3 integration
* ©2011-2015 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 form-inline dt-bootstrap",search:{input:"form-control input-sm"},length:{select:"form-control input-sm"},processing:{container:"dt-processing panel panel-default"}}),DataTable.ext.renderer.pagingButton.bootstrap=function(t,e,a,n,r){var l=["dt-paging-button","page-item"],n=(n&&l.push("active"),r&&l.push("disabled"),$("<li>").addClass(l.join(" ")));return{display:n,clicker:$("<a>",{href:r?null:"#",class:"page-link"}).html(a).appendTo(n)}},DataTable.ext.renderer.pagingContainer.bootstrap=function(t,e){return $("<ul/>").addClass("pagination").append(e)},DataTable.ext.renderer.layout.bootstrap=function(t,e,a){var n=$("<div/>",{class:"row"}).appendTo(e);$.each(a,function(t,e){var a="";"start"===t?a+="col-sm-6 text-left":"end"===t?(a+="col-sm-6 text-right",0===n.find(".col-sm-6").length&&(a+=" col-sm-offset-6")):"full"===t&&(a+="col-sm-12",e.table||(a+=" text-center")),$("<div/>",{id:e.id||null,class:a+" "+(e.className||"")}).append(e.contents).appendTo(n)})};export default DataTable;
5 changes: 2 additions & 3 deletions js/dataTables.bootstrap.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! DataTables Bootstrap 3 integration
* ©2011-2015 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 3. This requires Bootstrap 3 and
* DataTables 1.10 or newer.
* DataTables integration for Bootstrap 3.
*
* 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 fe13ee1

Please sign in to comment.