Skip to content

Commit 2b5f7b4

Browse files
author
Aman Sharma
committed
updated
1 parent 5fd5a1a commit 2b5f7b4

File tree

287 files changed

+267826
-16253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+267826
-16253
lines changed

app/assets/javascripts/datatables/dataTables.jqueryui.js

Lines changed: 19022 additions & 124 deletions
Large diffs are not rendered by default.

app/assets/javascripts/datatables/extensions/AutoFill/autoFill.bootstrap.js

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,37 @@
1111
}
1212
else if ( typeof exports === 'object' ) {
1313
// CommonJS
14-
module.exports = function (root, $) {
15-
if ( ! root ) {
16-
root = window;
17-
}
18-
19-
if ( ! $ || ! $.fn.dataTable ) {
20-
$ = require('datatables.net-bs')(root, $).$;
14+
var jq = require('jquery');
15+
var cjsRequires = function (root, $) {
16+
if ( ! $.fn.dataTable ) {
17+
require('datatables.net-bs')(root, $);
2118
}
2219

2320
if ( ! $.fn.dataTable.AutoFill ) {
2421
require('datatables.net-autofill')(root, $);
2522
}
26-
27-
return factory( $, root, root.document );
2823
};
24+
25+
if (typeof window === 'undefined') {
26+
module.exports = function (root, $) {
27+
if ( ! root ) {
28+
// CommonJS environments without a window global must pass a
29+
// root. This will give an error otherwise
30+
root = window;
31+
}
32+
33+
if ( ! $ ) {
34+
$ = jq( root );
35+
}
36+
37+
cjsRequires( root, $ );
38+
return factory( $, root, root.document );
39+
};
40+
}
41+
else {
42+
cjsRequires( window, jq );
43+
module.exports = factory( jq, window, window.document );
44+
}
2945
}
3046
else {
3147
// Browser
@@ -36,8 +52,9 @@
3652
var DataTable = $.fn.dataTable;
3753

3854

55+
3956
DataTable.AutoFill.classes.btn = 'btn btn-primary';
4057

4158

4259
return DataTable;
43-
}));
60+
}));

app/assets/javascripts/datatables/extensions/AutoFill/autoFill.bootstrap.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/datatables/extensions/AutoFill/autoFill.bootstrap4.js

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,37 @@
1111
}
1212
else if ( typeof exports === 'object' ) {
1313
// CommonJS
14-
module.exports = function (root, $) {
15-
if ( ! root ) {
16-
root = window;
17-
}
18-
19-
if ( ! $ || ! $.fn.dataTable ) {
20-
$ = require('datatables.net-bs4')(root, $).$;
14+
var jq = require('jquery');
15+
var cjsRequires = function (root, $) {
16+
if ( ! $.fn.dataTable ) {
17+
require('datatables.net-bs4')(root, $);
2118
}
2219

2320
if ( ! $.fn.dataTable.AutoFill ) {
2421
require('datatables.net-autofill')(root, $);
2522
}
26-
27-
return factory( $, root, root.document );
2823
};
24+
25+
if (typeof window === 'undefined') {
26+
module.exports = function (root, $) {
27+
if ( ! root ) {
28+
// CommonJS environments without a window global must pass a
29+
// root. This will give an error otherwise
30+
root = window;
31+
}
32+
33+
if ( ! $ ) {
34+
$ = jq( root );
35+
}
36+
37+
cjsRequires( root, $ );
38+
return factory( $, root, root.document );
39+
};
40+
}
41+
else {
42+
cjsRequires( window, jq );
43+
module.exports = factory( jq, window, window.document );
44+
}
2945
}
3046
else {
3147
// Browser
@@ -36,8 +52,9 @@
3652
var DataTable = $.fn.dataTable;
3753

3854

55+
3956
DataTable.AutoFill.classes.btn = 'btn btn-primary';
4057

4158

4259
return DataTable;
43-
}));
60+
}));

app/assets/javascripts/datatables/extensions/AutoFill/autoFill.bootstrap4.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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-bs5', 'datatables.net-autofill'], function ( $ ) {
9+
return factory( $, window, document );
10+
} );
11+
}
12+
else if ( typeof exports === 'object' ) {
13+
// CommonJS
14+
var jq = require('jquery');
15+
var cjsRequires = function (root, $) {
16+
if ( ! $.fn.dataTable ) {
17+
require('datatables.net-bs5')(root, $);
18+
}
19+
20+
if ( ! $.fn.dataTable.AutoFill ) {
21+
require('datatables.net-autofill')(root, $);
22+
}
23+
};
24+
25+
if (typeof window === 'undefined') {
26+
module.exports = function (root, $) {
27+
if ( ! root ) {
28+
// CommonJS environments without a window global must pass a
29+
// root. This will give an error otherwise
30+
root = window;
31+
}
32+
33+
if ( ! $ ) {
34+
$ = jq( root );
35+
}
36+
37+
cjsRequires( root, $ );
38+
return factory( $, root, root.document );
39+
};
40+
}
41+
else {
42+
cjsRequires( window, jq );
43+
module.exports = factory( jq, window, window.document );
44+
}
45+
}
46+
else {
47+
// Browser
48+
factory( jQuery, window, document );
49+
}
50+
}(function( $, window, document, undefined ) {
51+
'use strict';
52+
var DataTable = $.fn.dataTable;
53+
54+
55+
56+
DataTable.AutoFill.classes.btn = 'btn btn-primary';
57+
58+
59+
return DataTable;
60+
}));

app/assets/javascripts/datatables/extensions/AutoFill/autoFill.bootstrap5.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/*! Bulma 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-bm', 'datatables.net-autofill'], function ( $ ) {
9+
return factory( $, window, document );
10+
} );
11+
}
12+
else if ( typeof exports === 'object' ) {
13+
// CommonJS
14+
var jq = require('jquery');
15+
var cjsRequires = function (root, $) {
16+
if ( ! $.fn.dataTable ) {
17+
require('datatables.net-bm')(root, $);
18+
}
19+
20+
if ( ! $.fn.dataTable.AutoFill ) {
21+
require('datatables.net-autofill')(root, $);
22+
}
23+
};
24+
25+
if (typeof window === 'undefined') {
26+
module.exports = function (root, $) {
27+
if ( ! root ) {
28+
// CommonJS environments without a window global must pass a
29+
// root. This will give an error otherwise
30+
root = window;
31+
}
32+
33+
if ( ! $ ) {
34+
$ = jq( root );
35+
}
36+
37+
cjsRequires( root, $ );
38+
return factory( $, root, root.document );
39+
};
40+
}
41+
else {
42+
cjsRequires( window, jq );
43+
module.exports = factory( jq, window, window.document );
44+
}
45+
}
46+
else {
47+
// Browser
48+
factory( jQuery, window, document );
49+
}
50+
}(function( $, window, document, undefined ) {
51+
'use strict';
52+
var DataTable = $.fn.dataTable;
53+
54+
55+
56+
DataTable.AutoFill.classes.btn = 'button is-small';
57+
58+
59+
return DataTable;
60+
}));

app/assets/javascripts/datatables/extensions/AutoFill/autoFill.bulma.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/datatables/extensions/AutoFill/autoFill.dataTables.js

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,48 @@
1111
}
1212
else if ( typeof exports === 'object' ) {
1313
// CommonJS
14-
module.exports = function (root, $) {
15-
if ( ! root ) {
16-
root = window;
17-
}
18-
19-
if ( ! $ || ! $.fn.dataTable ) {
20-
$ = require('datatables.net-dt')(root, $).$;
14+
var jq = require('jquery');
15+
var cjsRequires = function (root, $) {
16+
if ( ! $.fn.dataTable ) {
17+
require('datatables.net-dt')(root, $);
2118
}
2219

2320
if ( ! $.fn.dataTable.AutoFill ) {
2421
require('datatables.net-autofill')(root, $);
2522
}
26-
27-
return factory( $, root, root.document );
2823
};
24+
25+
if (typeof window === 'undefined') {
26+
module.exports = function (root, $) {
27+
if ( ! root ) {
28+
// CommonJS environments without a window global must pass a
29+
// root. This will give an error otherwise
30+
root = window;
31+
}
32+
33+
if ( ! $ ) {
34+
$ = jq( root );
35+
}
36+
37+
cjsRequires( root, $ );
38+
return factory( $, root, root.document );
39+
};
40+
}
41+
else {
42+
cjsRequires( window, jq );
43+
module.exports = factory( jq, window, window.document );
44+
}
2945
}
3046
else {
3147
// Browser
3248
factory( jQuery, window, document );
3349
}
3450
}(function( $, window, document, undefined ) {
51+
'use strict';
52+
var DataTable = $.fn.dataTable;
53+
54+
3555

36-
return $.fn.dataTable;
3756

38-
}));
57+
return DataTable;
58+
}));

0 commit comments

Comments
 (0)