1
0
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:
Allan Jardine 2011-12-06 18:04:57 +00:00
parent d8132799f7
commit bfd625350c
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;