LaravelTest
38 строк · 841.0 Байт
1/*! Bootstrap 4 styling wrapper for KeyTable
2* ©2018 SpryMedia Ltd - datatables.net/license
3*/
4
5(function( factory ){6if ( typeof define === 'function' && define.amd ) {7// AMD8define( ['jquery', 'datatables.net-bs4', 'datatables.net-keytable'], function ( $ ) {9return factory( $, window, document );10} );11}12else if ( typeof exports === 'object' ) {13// CommonJS14module.exports = function (root, $) {15if ( ! root ) {16root = window;17}18
19if ( ! $ || ! $.fn.dataTable ) {20$ = require('datatables.net-bs4')(root, $).$;21}22
23if ( ! $.fn.dataTable.KeyTable ) {24require('datatables.net-keytable')(root, $);25}26
27return factory( $, root, root.document );28};29}30else {31// Browser32factory( jQuery, window, document );33}34}(function( $, window, document, undefined ) {35
36return $.fn.dataTable;37
38}));