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 ff7e211 commit 2b60fd9
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.bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@
require('datatables.net-bs')(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.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/buttons.bootstrap.min.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Bootstrap integration for DataTables' Buttons
* ©2016 SpryMedia Ltd - datatables.net/license
*/
import $ from"jquery";import DataTable from"datatables.net-bs";import"datatables.net-buttons";$.extend(!0,DataTable.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group"},button:{className:"btn btn-default"},collection:{tag:"ul",className:"dropdown-menu",closeButton:!1,button:{tag:"li",className:"dt-button",active:"active",disabled:"disabled"},buttonLiner:{tag:"a",className:""}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper btn-group",closeButton:!1},splitDropdown:{tag:"button",text:"&#x25BC;",className:"btn btn-default dt-btn-split-drop dropdown-toggle",closeButton:!1,align:"split-left",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button btn btn-default",closeButton:!1}}}),DataTable.ext.buttons.collection.text=function(t){return t.i18n("buttons.collection",'Collection <span class="caret"/>')};export default DataTable;
import $ from"jquery";import DataTable from"datatables.net-bs";import Buttons from"datatables.net-buttons";$.extend(!0,DataTable.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group"},button:{className:"btn btn-default"},collection:{tag:"ul",className:"dropdown-menu",closeButton:!1,button:{tag:"li",className:"dt-button",active:"active",disabled:"disabled"},buttonLiner:{tag:"a",className:""}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper btn-group",closeButton:!1},splitDropdown:{tag:"button",text:"&#x25BC;",className:"btn btn-default dt-btn-split-drop dropdown-toggle",closeButton:!1,align:"split-left",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button btn btn-default",closeButton:!1}}}),DataTable.ext.buttons.collection.text=function(t){return t.i18n("buttons.collection",'Collection <span class="caret"/>')};export default DataTable;
2 changes: 1 addition & 1 deletion js/buttons.bootstrap.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-bs';
import 'datatables.net-buttons';
import Buttons from 'datatables.net-buttons';



Expand Down

0 comments on commit 2b60fd9

Please sign in to comment.