datatables.net 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/License.txt +22 -0
- package/Readme.md +9 -3
- package/js/{jquery.dataTables.js → dataTables.js} +6317 -8086
- package/js/dataTables.min.js +4 -0
- package/js/dataTables.min.mjs +4 -0
- package/js/dataTables.mjs +13483 -0
- package/package.json +27 -14
- package/types/types.d.ts +3351 -0
package/License.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright SpryMedia Limited and other contributors
|
|
4
|
+
http://datatables.net
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in
|
|
14
|
+
all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
+
THE SOFTWARE.
|
package/Readme.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# DataTables for jQuery
|
|
1
|
+
# DataTables for jQuery
|
|
2
2
|
|
|
3
3
|
This package contains distribution files for the [DataTables library](https://datatables.net) for [jQuery](http://jquery.com/). Only the core software for this library is contained in this package - to be correctly styled, a styling package for DataTables must also be included. Styling options include DataTable's native styling, [Bootstrap](http://getbootstrap.com) and [Foundation](http://foundation.zurb.com/).
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ DataTables is a table enhancing library which adds features such as paging, orde
|
|
|
9
9
|
|
|
10
10
|
### Browser
|
|
11
11
|
|
|
12
|
-
For inclusion of this library using a standard `<script>` tag, rather than using this package, it is recommended that you use the [DataTables download builder](//datatables.net/download) which can create CDN or locally hosted packages for you, will all dependencies satisfied.
|
|
12
|
+
For inclusion of this library using a standard `<script>` tag, rather than using this package, it is recommended that you use the [DataTables download builder](//datatables.net/download) which can create CDN or locally hosted packages \for you, will all dependencies satisfied.
|
|
13
13
|
|
|
14
14
|
### npm
|
|
15
15
|
|
|
@@ -17,11 +17,17 @@ For inclusion of this library using a standard `<script>` tag, rather than using
|
|
|
17
17
|
npm install datatables.net
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
ES3 Syntax
|
|
20
21
|
```
|
|
21
22
|
var $ = require( 'jquery' );
|
|
22
23
|
require( 'datatables.net' )( window, $ );
|
|
23
24
|
```
|
|
24
25
|
|
|
26
|
+
ES6 Syntax
|
|
27
|
+
```
|
|
28
|
+
import 'datatables.net'
|
|
29
|
+
```
|
|
30
|
+
|
|
25
31
|
### bower
|
|
26
32
|
|
|
27
33
|
```
|
|
@@ -32,7 +38,7 @@ bower install --save datatables.net
|
|
|
32
38
|
|
|
33
39
|
## Documentation
|
|
34
40
|
|
|
35
|
-
Full documentation of the DataTables options, API and plug-in interface are available on the
|
|
41
|
+
Full documentation of the DataTables options, API and plug-in interface are available on the [website](https://datatables.net/reference/index). The site also contains information on the wide variety of plug-ins that are available for DataTables, which can be used to enhance and customise your table even further.
|
|
36
42
|
|
|
37
43
|
|
|
38
44
|
## Bug / Support
|