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 34c4de5 commit 9206c7f
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.foundation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! DataTables Foundation 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 Foundation. This requires Foundation 5 and
* DataTables 1.10 or newer.
* DataTables integration for Foundation. This requires Foundation 5.
*
* This file sets the defaults and adds options to DataTables to style its
* controls using Foundation. See https://datatables.net/manual/styling/foundation
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.foundation.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.foundation.min.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! DataTables Foundation 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.ext.classes,{container:"dt-container dt-foundation",processing:{container:"dt-processing panel callout"}}),$.extend(!0,DataTable.defaults,{renderer:"foundation"}),DataTable.ext.renderer.pagingButton.foundation=function(a,e,t,n,l){var i,r=[];return"ellipsis"===e?{display:i=$("<li>",{class:"ellipsis"}),clicker:i}:n||l?{display:i=$("<li>",{class:n?"current":"disabled "+r.join(" ")}).html(t),clicker:i}:{display:i=$("<li>").addClass(r.join(" ")),clicker:$("<a>",{href:"#"}).html(t).appendTo(i)}},DataTable.ext.renderer.pagingContainer.foundation=function(a,e){return $("<ul/>").addClass("pagination").append(e)},DataTable.ext.renderer.layout.foundation=function(a,e,t){var l=$("<div/>",{class:"grid-x"}).appendTo(e);$.each(t,function(a,e){var t="",n={};e.table?t+="cell small-12":"start"===a?t+="cell auto":"end"===a?(t+="cell shrink",n.marginLeft="auto"):"full"===a&&(t+="cell",n.marginLeft="auto",n.marginRight="auto"),$("<div/>",{id:e.id||null,class:t+" "+(e.className||"")}).css(n).append(e.contents).appendTo(l)})};export default DataTable;
5 changes: 2 additions & 3 deletions js/dataTables.foundation.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*! DataTables Foundation 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 Foundation. This requires Foundation 5 and
* DataTables 1.10 or newer.
* DataTables integration for Foundation. This requires Foundation 5.
*
* This file sets the defaults and adds options to DataTables to style its
* controls using Foundation. See https://datatables.net/manual/styling/foundation
Expand Down

0 comments on commit 9206c7f

Please sign in to comment.