diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-08-30 11:42:58 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-08-30 11:42:58 +0100 |
| commit | 7a338dcdf3cb8d8a9e5e7855ad1402336cd4ee79 (patch) | |
| tree | 6c7bd3147a6dac28442a937196aa6ad63578dad7 /app/static/resources/datatables/js/dataTables.dataTables.js | |
| parent | Add full name column to User table (diff) | |
| download | AnnotateChange-7a338dcdf3cb8d8a9e5e7855ad1402336cd4ee79.tar.gz AnnotateChange-7a338dcdf3cb8d8a9e5e7855ad1402336cd4ee79.zip | |
Serve all necessary resources locally
Diffstat (limited to 'app/static/resources/datatables/js/dataTables.dataTables.js')
| -rw-r--r-- | app/static/resources/datatables/js/dataTables.dataTables.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app/static/resources/datatables/js/dataTables.dataTables.js b/app/static/resources/datatables/js/dataTables.dataTables.js new file mode 100644 index 0000000..97e6655 --- /dev/null +++ b/app/static/resources/datatables/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; + +})); |
