Skip to content

Commit

Permalink
d145c8bc5c29bf3931bdbd7deca9d875d085d865
Browse files Browse the repository at this point in the history
Sync to source repo @d145c8bc5c29bf3931bdb7deca9d875d085d865
  • Loading branch information
AllanJard committed Nov 15, 2022
1 parent 7f56354 commit 4f582f0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
],
"src-repo": "http://github.com/DataTables/Buttons",
"last-tag": "2.3.2",
"last-sync": "d145c8bc5c29bf3931bdbd7deca9d875d085d865"
"last-sync": "d145c8bc5c29bf3931bdb7deca9d875d085d865"
}
3 changes: 1 addition & 2 deletions js/buttons.dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@
require('datatables.net-dt')(root, $);
}

if ( ! $.fn.dataTable ) {
if ( ! $.fn.dataTable.Buttons ) {
require('datatables.net-buttons')(root, $);
}


return factory( $, root, root.document );
};
}
Expand Down
2 changes: 1 addition & 1 deletion js/buttons.dataTables.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/buttons.dataTables.min.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! DataTables styling wrapper for Buttons
* ©2018 SpryMedia Ltd - datatables.net/license
*/
import $ from"jquery";import DataTable from"datatables.net-dt";import"datatables.net-buttons";!function(a){"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-buttons"],function(t){return a(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e&&e.fn.dataTable?e:require("datatables.net-dt")(t,e).$).fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),a(e,0,t.document)}:a(jQuery,window,document)}(function(t,e,a,n){return t.fn.dataTable});export default DataTable;
import $ from"jquery";import DataTable from"datatables.net-dt";import Buttons from"datatables.net-buttons";!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net-dt","datatables.net-buttons"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e&&e.fn.dataTable?e:require("datatables.net-dt")(t,e).$).fn.dataTable.Buttons||require("datatables.net-buttons")(t,e),n(e,0,t.document)}:n(jQuery,window,document)}(function(t,e,n,a){return t.fn.dataTable});export default DataTable;
2 changes: 1 addition & 1 deletion js/buttons.dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import $ from 'jquery';
import DataTable from 'datatables.net-dt';
import 'datatables.net-buttons';
import Buttons from 'datatables.net-buttons';



Expand Down

0 comments on commit 4f582f0

Please sign in to comment.