mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
One thing that has bugged me a little since I first wrote DataTables was that for some mental reason I picked $.fn.dataTable rather than $.fn.DataTable as the jQuery access function. This commit now allows either approach.
This commit is contained in:
parent
d8132799f7
commit
bfd625350c
1
media/js/jquery.dataTables.js
vendored
1
media/js/jquery.dataTables.js
vendored
@ -10342,6 +10342,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// jQuery aliases
|
// jQuery aliases
|
||||||
|
$.fn.DataTable = DataTable;
|
||||||
$.fn.dataTable = DataTable;
|
$.fn.dataTable = DataTable;
|
||||||
$.fn.dataTableSettings = DataTable.settings;
|
$.fn.dataTableSettings = DataTable.settings;
|
||||||
$.fn.dataTableExt = DataTable.ext;
|
$.fn.dataTableExt = DataTable.ext;
|
||||||
|
@ -124,6 +124,7 @@
|
|||||||
require('ext.types.js');
|
require('ext.types.js');
|
||||||
|
|
||||||
// jQuery aliases
|
// jQuery aliases
|
||||||
|
$.fn.DataTable = DataTable;
|
||||||
$.fn.dataTable = DataTable;
|
$.fn.dataTable = DataTable;
|
||||||
$.fn.dataTableSettings = DataTable.settings;
|
$.fn.dataTableSettings = DataTable.settings;
|
||||||
$.fn.dataTableExt = DataTable.ext;
|
$.fn.dataTableExt = DataTable.ext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user