Skip to content
This repository was archived by the owner on Jul 25, 2021. It is now read-only.

Commit 3cb4160

Browse files
committed
v5.0.0-rc.2 - change Excel format default from xls -> xlsx
1 parent 83c5fa6 commit 3cb4160

File tree

13 files changed

+22
-24
lines changed

13 files changed

+22
-24
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tableexport.js",
3-
"version": "5.0.0-rc.1",
3+
"version": "5.0.0-rc.2",
44
"authors": [
55
"clarketm <travis.m.clarke@gmail.com>"
66
],

dist/css/tableexport.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
2+
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
33
*
44
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
55
*

dist/css/tableexport.min.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
2+
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
33
*
44
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
55
*

dist/js/tableexport.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
2+
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
33
*
44
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
55
*
@@ -142,15 +142,15 @@
142142
* Version.
143143
* @memberof TableExport.prototype
144144
*/
145-
version: '5.0.0-rc.1',
145+
version: '5.0.0-rc.2',
146146
/**
147147
* Default library options.
148148
* @memberof TableExport.prototype
149149
*/
150150
defaults: {
151151
headers: true, // (Boolean), display table headers (th or td elements) in the <thead>, (default: true)
152152
footers: true, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
153-
formats: ['xls', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xls', 'csv', 'txt'])
153+
formats: ['xlsx', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xlsx', 'csv', 'txt'])
154154
filename: 'id', // (id, String), filename for the downloaded file, (default: 'id')
155155
bootstrap: false, // (Boolean), style buttons using bootstrap, (default: true)
156156
exportButtons: true, // (Boolean), automatically generate the built-in export buttons for each of the specified formats (default: true)

dist/js/tableexport.min.js

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

dist/tableexport.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// Type definitions for TableExport v5.0.0-rc.1
1+
// Type definitions for TableExport v5.0.0-rc.2
22
// Project: https://tableexport.v4.travismclarke.com
33
// Definitions by: Travis Clarke <https://github.com/clarketm>
44

55
/*!
6-
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
6+
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
77
*
88
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
99
*

examples/arabic-language.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ <h1>Arabic</h1>
4343
<script>
4444

4545
var ArabicTable = document.getElementById('arabic-table');
46-
TableExport(ArabicTable, {
47-
formats: ['xlsx']
48-
});
46+
TableExport(ArabicTable);
4947

5048
</script>
5149

examples/default.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>Defaults</h1>
1515
<pre>
1616
headers: true,
1717
footers: true,
18-
formats: ['xls', 'csv', 'txt'],
18+
formats: ['xlsx', 'csv', 'txt'],
1919
filename: 'id',
2020
bootstrap: false,
2121
exportButtons: true,
@@ -85,7 +85,7 @@ <h1>Defaults</h1>
8585
new TableExport(DefaultTable, {
8686
headers: true, // (Boolean), display table headers (th or td elements) in the <thead>, (default: true)
8787
footers: true, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
88-
formats: ['xls', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xls', 'csv', 'txt'])
88+
formats: ['xlsx', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xlsx', 'csv', 'txt'])
8989
filename: 'id', // (id, String), filename for the downloaded file, (default: 'id')
9090
bootstrap: false, // (Boolean), style buttons using bootstrap, (default: false)
9191
position: 'bottom', // (top, bottom), position of the caption element relative to table, (default: 'bottom')
@@ -99,7 +99,7 @@ <h1>Defaults</h1>
9999
// $(DefaultTable).tableExport({
100100
// headers: true,
101101
// footers: true,
102-
// formats: ['xls', 'csv', 'txt'],
102+
// formats: ['xlsx', 'csv', 'txt'],
103103
// filename: 'id',
104104
// bootstrap: true,
105105
// position: 'bottom',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tableexport",
3-
"version": "5.0.0-rc.1",
3+
"version": "5.0.0-rc.2",
44
"authors": [
55
"clarketm <travis.m.clarke@gmail.com>"
66
],

src/stable/css/tableexport.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
2+
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
33
*
44
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
55
*

0 commit comments

Comments
 (0)