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

Commit

Permalink
v5.0.0-rc.2 - change Excel format default from xls -> xlsx
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm committed May 30, 2017
1 parent 83c5fa6 commit 3cb4160
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableexport.js",
"version": "5.0.0-rc.1",
"version": "5.0.0-rc.2",
"authors": [
"clarketm <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
6 changes: 3 additions & 3 deletions dist/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down Expand Up @@ -142,15 +142,15 @@
* Version.
* @memberof TableExport.prototype
*/
version: '5.0.0-rc.1',
version: '5.0.0-rc.2',
/**
* Default library options.
* @memberof TableExport.prototype
*/
defaults: {
headers: true, // (Boolean), display table headers (th or td elements) in the <thead>, (default: true)
footers: true, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
formats: ['xls', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xls', 'csv', 'txt'])
formats: ['xlsx', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xlsx', 'csv', 'txt'])
filename: 'id', // (id, String), filename for the downloaded file, (default: 'id')
bootstrap: false, // (Boolean), style buttons using bootstrap, (default: true)
exportButtons: true, // (Boolean), automatically generate the built-in export buttons for each of the specified formats (default: true)
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tableexport.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/tableexport.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Type definitions for TableExport v5.0.0-rc.1
// Type definitions for TableExport v5.0.0-rc.2
// Project: https://tableexport.v4.travismclarke.com
// Definitions by: Travis Clarke <https://github.com/clarketm>

/*!
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
4 changes: 1 addition & 3 deletions examples/arabic-language.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ <h1>Arabic</h1>
<script>

var ArabicTable = document.getElementById('arabic-table');
TableExport(ArabicTable, {
formats: ['xlsx']
});
TableExport(ArabicTable);

</script>

Expand Down
6 changes: 3 additions & 3 deletions examples/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>Defaults</h1>
<pre>
headers: true,
footers: true,
formats: ['xls', 'csv', 'txt'],
formats: ['xlsx', 'csv', 'txt'],
filename: 'id',
bootstrap: false,
exportButtons: true,
Expand Down Expand Up @@ -85,7 +85,7 @@ <h1>Defaults</h1>
new TableExport(DefaultTable, {
headers: true, // (Boolean), display table headers (th or td elements) in the <thead>, (default: true)
footers: true, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
formats: ['xls', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xls', 'csv', 'txt'])
formats: ['xlsx', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xlsx', 'csv', 'txt'])
filename: 'id', // (id, String), filename for the downloaded file, (default: 'id')
bootstrap: false, // (Boolean), style buttons using bootstrap, (default: false)
position: 'bottom', // (top, bottom), position of the caption element relative to table, (default: 'bottom')
Expand All @@ -99,7 +99,7 @@ <h1>Defaults</h1>
// $(DefaultTable).tableExport({
// headers: true,
// footers: true,
// formats: ['xls', 'csv', 'txt'],
// formats: ['xlsx', 'csv', 'txt'],
// filename: 'id',
// bootstrap: true,
// position: 'bottom',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableexport",
"version": "5.0.0-rc.1",
"version": "5.0.0-rc.2",
"authors": [
"clarketm <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
6 changes: 3 additions & 3 deletions src/stable/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.2 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down Expand Up @@ -142,15 +142,15 @@
* Version.
* @memberof TableExport.prototype
*/
version: '5.0.0-rc.1',
version: '5.0.0-rc.2',
/**
* Default library options.
* @memberof TableExport.prototype
*/
defaults: {
headers: true, // (Boolean), display table headers (th or td elements) in the <thead>, (default: true)
footers: true, // (Boolean), display table footers (th or td elements) in the <tfoot>, (default: false)
formats: ['xls', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xls', 'csv', 'txt'])
formats: ['xlsx', 'csv', 'txt'], // (String[]), filetype(s) for the export, (default: ['xlsx', 'csv', 'txt'])
filename: 'id', // (id, String), filename for the downloaded file, (default: 'id')
bootstrap: false, // (Boolean), style buttons using bootstrap, (default: true)
exportButtons: true, // (Boolean), automatically generate the built-in export buttons for each of the specified formats (default: true)
Expand Down
4 changes: 2 additions & 2 deletions src/stable/js/tableexport.min.js

Large diffs are not rendered by default.

0 comments on commit 3cb4160

Please sign in to comment.