mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
635a027057
- I added a static DataTable.on() method previously in the 1.10 development for a single event called `construct` which would tell us when a table was constructed. But I've realise that since the events that DataTables' triggers bubble up through the document, that effect can already be achieved: - Use: - $(document).on( 'init.dt', function ( e, settings ) { } ); - Rather than: - $.fn.dataTable.on( 'construct', function ( settings ) { } ); - No backwards compatiblity issues as the DataTable.on code was never shipped, its dev code only