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 7ac5135 commit 765a0fd
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.bulma.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@
require('datatables.net-bm')(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.bulma.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.bulma.min.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Bulma integration for DataTables' Buttons
* ©2021 SpryMedia Ltd - datatables.net/license
*/
import $ from"jquery";import DataTable from"datatables.net-bm";import"datatables.net-buttons";$.extend(!0,DataTable.Buttons.defaults,{dom:{container:{className:"dt-buttons field is-grouped"},button:{className:"button is-light",active:"is-active",disabled:"is-disabled"},collection:{tag:"div",closeButton:!1,className:"dropdown-content",button:{tag:"a",className:"dt-button dropdown-item",active:"is-active",disabled:"is-disabled"}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper dropdown-trigger buttons has-addons",closeButton:!1},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button button is-light",closeButton:!1},splitDropdown:{tag:"button",text:"&#x25BC;",className:"button is-light",closeButton:!1,align:"split-left",splitAlignClass:"dt-button-split-left"}},buttonCreated:function(t,a){return t.buttons&&(t._collection=$('<div class="dropdown-menu"/>').append(t._collection),$(a).append('<span class="icon is-small"><i class="fa fa-angle-down" aria-hidden="true"></i></span>')),a}});export default DataTable;
import $ from"jquery";import DataTable from"datatables.net-bm";import Buttons from"datatables.net-buttons";$.extend(!0,DataTable.Buttons.defaults,{dom:{container:{className:"dt-buttons field is-grouped"},button:{className:"button is-light",active:"is-active",disabled:"is-disabled"},collection:{tag:"div",closeButton:!1,className:"dropdown-content",button:{tag:"a",className:"dt-button dropdown-item",active:"is-active",disabled:"is-disabled"}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper dropdown-trigger buttons has-addons",closeButton:!1},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button button is-light",closeButton:!1},splitDropdown:{tag:"button",text:"&#x25BC;",className:"button is-light",closeButton:!1,align:"split-left",splitAlignClass:"dt-button-split-left"}},buttonCreated:function(t,a){return t.buttons&&(t._collection=$('<div class="dropdown-menu"/>').append(t._collection),$(a).append('<span class="icon is-small"><i class="fa fa-angle-down" aria-hidden="true"></i></span>')),a}});export default DataTable;
2 changes: 1 addition & 1 deletion js/buttons.bulma.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-bm';
import 'datatables.net-buttons';
import Buttons from 'datatables.net-buttons';



Expand Down

0 comments on commit 765a0fd

Please sign in to comment.