Last change
on this file since deff0bc 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:
948 bytes
|
Rev | Line | |
---|
[7304c7f] | 1 | (function (factory) {
|
---|
| 2 | if (typeof define === 'function' && define.amd) {
|
---|
| 3 | // AMD
|
---|
| 4 | define(['jquery', 'datatables.net-dt', 'datatables.net-searchPanes'], function ($) {
|
---|
| 5 | return factory($, window, document);
|
---|
| 6 | });
|
---|
| 7 | }
|
---|
| 8 | else if (typeof exports === 'object') {
|
---|
| 9 | // CommonJS
|
---|
| 10 | module.exports = function (root, $) {
|
---|
| 11 | if (!root) {
|
---|
| 12 | root = window;
|
---|
| 13 | }
|
---|
| 14 | if (!$ || !$.fn.dataTable) {
|
---|
| 15 | $ = require('datatables.net-dt')(root, $).$;
|
---|
| 16 | }
|
---|
| 17 | if (!$.fn.dataTable.searchPanes) {
|
---|
| 18 | require('datatables.net-searchPanes')(root, $);
|
---|
| 19 | }
|
---|
| 20 | return factory($, root, root.document);
|
---|
| 21 | };
|
---|
| 22 | }
|
---|
| 23 | else {
|
---|
| 24 | // Browser
|
---|
| 25 | factory(jQuery, window, document);
|
---|
| 26 | }
|
---|
| 27 | }(function ($, window, document) {
|
---|
| 28 | 'use strict';
|
---|
| 29 | var DataTable = $.fn.dataTable;
|
---|
| 30 | return DataTable.searchPanes;
|
---|
| 31 | }));
|
---|
Note:
See
TracBrowser
for help on using the repository browser.