aboutsummaryrefslogtreecommitdiff
path: root/app/static/resources/datatables/js/dataTables.dataTables.js
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-08-30 11:42:58 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-08-30 11:42:58 +0100
commit7a338dcdf3cb8d8a9e5e7855ad1402336cd4ee79 (patch)
tree6c7bd3147a6dac28442a937196aa6ad63578dad7 /app/static/resources/datatables/js/dataTables.dataTables.js
parentAdd full name column to User table (diff)
downloadAnnotateChange-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.js37
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;
+
+}));