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

Commit

Permalink
v4.0.0-rc.5
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm committed May 4, 2017
1 parent 67528de commit 0cec6be
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The simple, easy-to-implement plugin to export HTML tables to xlsx, xls, csv, an

[TableExport](https://www.travismclarke.com/tableexport/) demo **--** [TableExport + RequireJS](https://github.com/clarketm/tableexport_requirejs_app) skeleton **--** [TableExport + Flask](https://github.com/clarketm/tableexport_flask_app) skeleton.

## [`v4.0.0-rc.4`](https://github.com/clarketm/TableExport/releases/tag/v4.0.0-rc.4) Release Candidate:
## [`v4.0.0-rc.5`](https://github.com/clarketm/TableExport/releases/tag/v4.0.0-rc.5) Release Candidate:
> **Notice:** In May 2017, [v3.0.0](https://github.com/clarketm/TableExport/releases/tag/v3.3.9) will be superceded by [v4.0.0](https://github.com/clarketm/TableExport/releases/tag/v4.0.0-alpha.5). Althought this is a major version bump, fear not, because all changes will be 100% backwards-compatible.
> **So why the major version bump you ask?** Well, the rationale for a major version bump is that due to a change in `TableExport`'s dependencies, in [v4.0.0](https://github.com/clarketm/TableExport/releases/tag/v4.0.0-alpha.5) forth, JQuery will no longer be a **required** dependency, instead it will be purely **optional**. So existing implementations *with* jQuery will continue to work unimpeded, now with the added benefit that new projets no longer need to rely on the overhead of such large library, unless of course you prefer jQuery or it is already part of your project.
Expand Down
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": "4.0.0-rc.4",
"version": "4.0.0-rc.5",
"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 4.0.0-rc.4 (https://www.travismclarke.com)
* TableExport.js 4.0.0-rc.5 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/css/tableexport.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions dist/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js 4.0.0-rc.4 (https://www.travismclarke.com)
* TableExport.js 4.0.0-rc.5 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -45,7 +45,7 @@
settings.ignoreCSS = self.ignoreCSS instanceof Array ? self.ignoreCSS.join(', ') : self.ignoreCSS;
settings.emptyCSS = self.emptyCSS instanceof Array ? self.emptyCSS.join(', ') : self.emptyCSS;
settings.formatValue = self.formatValue.bind(this, settings.trimWhitespace);
settings.bootstrapSettings = _getBootstrapSettings(self.bootstrap, self.bootstrapConfig, self.defaultButton);
settings.bootstrapSettings = _getBootstrapSettings(settings.bootstrap, self.bootstrapConfig, self.defaultButton);

var _exportData = {};
self.getExportData = function () {
Expand Down Expand Up @@ -113,7 +113,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: '4.0.0-rc.4',
version: '4.0.0-rc.5',
/**
* Default plugin options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -832,12 +832,12 @@
return el.classList ? el.classList.contains(cls) : new RegExp('(^| )' + cls + '( |$)', 'gi').test(el.cls);
}

function _getBootstrapSettings(bootstrap, boostrapConfig, defaultButton) {
function _getBootstrapSettings(bootstrap, bootstrapConfig, defaultButton) {
var config = {};
if (bootstrap) {
config.bootstrapClass = bootstrap[0] + ' ';
config.bootstrapTheme = bootstrap[1] + ' ';
config.bootstrapSpacing = bootstrap[2] + ' ';
config.bootstrapClass = bootstrapConfig[0] + ' ';
config.bootstrapTheme = bootstrapConfig[1] + ' ';
config.bootstrapSpacing = bootstrapConfig[2] + ' ';
} else {
config.bootstrapClass = defaultButton + ' ';
config.bootstrapTheme = '';
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tableexport.min.js

Large diffs are not rendered by default.

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": "4.0.0-rc.4",
"version": "4.0.0-rc.5",
"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 4.0.0-rc.4 (https://www.travismclarke.com)
* TableExport.js 4.0.0-rc.5 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down
2 changes: 1 addition & 1 deletion src/stable/css/tableexport.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions src/stable/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js 4.0.0-rc.4 (https://www.travismclarke.com)
* TableExport.js 4.0.0-rc.5 (https://www.travismclarke.com)
* Copyright 2017 Travis Clarke
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -45,7 +45,7 @@
settings.ignoreCSS = self.ignoreCSS instanceof Array ? self.ignoreCSS.join(', ') : self.ignoreCSS;
settings.emptyCSS = self.emptyCSS instanceof Array ? self.emptyCSS.join(', ') : self.emptyCSS;
settings.formatValue = self.formatValue.bind(this, settings.trimWhitespace);
settings.bootstrapSettings = _getBootstrapSettings(self.bootstrap, self.bootstrapConfig, self.defaultButton);
settings.bootstrapSettings = _getBootstrapSettings(settings.bootstrap, self.bootstrapConfig, self.defaultButton);

var _exportData = {};
self.getExportData = function () {
Expand Down Expand Up @@ -113,7 +113,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: '4.0.0-rc.4',
version: '4.0.0-rc.5',
/**
* Default plugin options.
* @memberof TableExport.prototype
Expand Down Expand Up @@ -832,12 +832,12 @@
return el.classList ? el.classList.contains(cls) : new RegExp('(^| )' + cls + '( |$)', 'gi').test(el.cls);
}

function _getBootstrapSettings(bootstrap, boostrapConfig, defaultButton) {
function _getBootstrapSettings(bootstrap, bootstrapConfig, defaultButton) {
var config = {};
if (bootstrap) {
config.bootstrapClass = bootstrap[0] + ' ';
config.bootstrapTheme = bootstrap[1] + ' ';
config.bootstrapSpacing = bootstrap[2] + ' ';
config.bootstrapClass = bootstrapConfig[0] + ' ';
config.bootstrapTheme = bootstrapConfig[1] + ' ';
config.bootstrapSpacing = bootstrapConfig[2] + ' ';
} else {
config.bootstrapClass = defaultButton + ' ';
config.bootstrapTheme = '';
Expand Down
Loading

0 comments on commit 0cec6be

Please sign in to comment.