PHP Classes

File: assets/js/datatables/tools/TableTools-master/src/dataTables.tableTools.js

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   assets/js/datatables/tools/TableTools-master/src/dataTables.tableTools.js   Download  
File: assets/js/datatables/tools/TableTools-master/src/dataTables.tableTools.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 2,288 bytes
 

Contents

Class file image Download
/*! TableTools 2.2.1 * 2009-2014 SpryMedia Ltd - datatables.net/license * * ZeroClipboard 1.0.4 * Author: Joseph Huckaby - MIT licensed */ /** * @summary TableTools * @description Tools and buttons for DataTables * @version 2.2.1 * @file dataTables.tableTools.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact * @copyright Copyright 2009-2014 SpryMedia Ltd. * * This source file is free software, available under the following license: * MIT license - http://datatables.net/license/mit * * This source file is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. * * For details please refer to: http://www.datatables.net */ /* Global scope for TableTools for backwards compatibility. * Will be removed in 2.3 */ var TableTools; (function(window, document, undefined) { var factory = function( $, DataTable ) { "use strict"; //include ZeroClipboard.js //include TableTools.js /* * Register a new feature with DataTables */ if ( typeof $.fn.dataTable == "function" && typeof $.fn.dataTableExt.fnVersionCheck == "function" && $.fn.dataTableExt.fnVersionCheck('1.9.0') ) { $.fn.dataTableExt.aoFeatures.push( { "fnInit": function( oDTSettings ) { var oOpts = typeof oDTSettings.oInit.oTableTools != 'undefined' ? oDTSettings.oInit.oTableTools : {}; var oTT = new TableTools( oDTSettings.oInstance, oOpts ); TableTools._aInstances.push( oTT ); return oTT.dom.container; }, "cFeature": "T", "sFeature": "TableTools" } ); } else { alert( "Warning: TableTools 2 requires DataTables 1.9.0 or newer - www.datatables.net/download"); } $.fn.dataTable.TableTools = TableTools; $.fn.DataTable.TableTools = TableTools; return TableTools; }; // /factory // Define as an AMD module if possible if ( typeof define === 'function' && define.amd ) { define( 'datatables-tabletools', ['jquery', 'datatables'], factory ); } else if ( jQuery && !jQuery.fn.dataTable.TableTools ) { // Otherwise simply initialise as normal, stopping multiple evaluation factory( jQuery, jQuery.fn.dataTable ); } })(window, document);