diff options
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/bower_components/datatables/media/js/dataTables.dataTables.js')
-rw-r--r-- | www/crm/wp-content/plugins/civicrm/civicrm/bower_components/datatables/media/js/dataTables.dataTables.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/datatables/media/js/dataTables.dataTables.js b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/datatables/media/js/dataTables.dataTables.js new file mode 100644 index 00000000..97e66552 --- /dev/null +++ b/www/crm/wp-content/plugins/civicrm/civicrm/bower_components/datatables/media/js/dataTables.dataTables.js @@ -0,0 +1,37 @@ +/*! DataTables styling integration + * ©2018 SpryMedia Ltd - datatables.net/license + */ + +(function( factory ){ + if ( typeof define === 'function' && define.amd ) { + // AMD + define( ['jquery', 'datatables.net'], function ( $ ) { + return factory( $, window, document ); + } ); + } + else if ( typeof exports === 'object' ) { + // CommonJS + module.exports = function (root, $) { + if ( ! root ) { + root = window; + } + + if ( ! $ || ! $.fn.dataTable ) { + // Require DataTables, which attaches to jQuery, including + // jQuery if needed and have a $ property so we can access the + // jQuery object that is used + $ = require('datatables.net')(root, $).$; + } + + return factory( $, root, root.document ); + }; + } + else { + // Browser + factory( jQuery, window, document ); + } +}(function( $, window, document, undefined ) { + +return $.fn.dataTable; + +})); |