develop
Last change
on this file since 233e950 was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added user authentication, create & forgot password methods and blades
|
-
Property mode
set to
100644
|
File size:
942 bytes
|
Rev | Line | |
---|
[7304c7f] | 1 | /*! Bootstrap integration for DataTables' AutoFill
|
---|
| 2 | * ©2015 SpryMedia Ltd - datatables.net/license
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | (function( factory ){
|
---|
| 6 | if ( typeof define === 'function' && define.amd ) {
|
---|
| 7 | // AMD
|
---|
| 8 | define( ['jquery', 'datatables.net-bs4', 'datatables.net-autofill'], function ( $ ) {
|
---|
| 9 | return factory( $, window, document );
|
---|
| 10 | } );
|
---|
| 11 | }
|
---|
| 12 | else if ( typeof exports === 'object' ) {
|
---|
| 13 | // CommonJS
|
---|
| 14 | module.exports = function (root, $) {
|
---|
| 15 | if ( ! root ) {
|
---|
| 16 | root = window;
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | if ( ! $ || ! $.fn.dataTable ) {
|
---|
| 20 | $ = require('datatables.net-bs4')(root, $).$;
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | if ( ! $.fn.dataTable.AutoFill ) {
|
---|
| 24 | require('datatables.net-autofill')(root, $);
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | return factory( $, root, root.document );
|
---|
| 28 | };
|
---|
| 29 | }
|
---|
| 30 | else {
|
---|
| 31 | // Browser
|
---|
| 32 | factory( jQuery, window, document );
|
---|
| 33 | }
|
---|
| 34 | }(function( $, window, document, undefined ) {
|
---|
| 35 | 'use strict';
|
---|
| 36 | var DataTable = $.fn.dataTable;
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | DataTable.AutoFill.classes.btn = 'btn btn-primary';
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | return DataTable;
|
---|
| 43 | })); |
---|
Note:
See
TracBrowser
for help on using the repository browser.