diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 1c8678e8..9a5907c4 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -7b5141122b2fad2d3cef2a333c518646018dc531 +9dc32c5fa50fabd9447a9e67fec49a6275c7bd5b diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 660cfca5..a60abe93 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -8331,50 +8331,6 @@ } ); - // Remove plugin methods - _api_register( 'plugin()', function ( type ) { - var ctx = this.context; - - if ( ! ctx.length ) { - return null; - } - - var plugins = ctx[0].oPlugins[ type ]; - - return ! plugins ? - null : - plugins.length == 1 ? - plugins[0] : - plugins; - } ); - - _api_register( 'plugin.register()', function ( type, inst ) { - return this.iterator( 'table', function ( settings ) { - var plugins = settings.oPlugins; - - if ( ! plugins[ type ] ) { - plugins[ type ] = []; - } - - plugins[ type ].push( inst ); - } ); - } ); - - _api_register( 'plugin.deregister()', function ( type, inst ) { - return this.iterator( 'table', function ( settings ) { - var plugins = settings.oPlugins[ type ]; - - if ( plugins ) { - var idx = $.inArray( inst, plugins ); - - if ( idx >= 0 ) { - plugins.splice( idx, 1 ); - } - } - } ); - } ); - - _api_register( 'destroy()', function ( remove ) { remove = remove || false;