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

Commit

Permalink
code cleanup and version update to 5.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm committed May 29, 2017
1 parent a97b3bc commit 061bf62
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 22 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": "4.1.0-rc.1",
"version": "5.0.0-rc.1",
"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 v4.1.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.1 (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 v4.1.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
9 changes: 4 additions & 5 deletions dist/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v4.1.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand All @@ -22,12 +22,12 @@
if (typeof define === 'function' && define.amd) {
// AMD
define(function (require) {
var $; try { $ = require('jquery') } catch(e) {}
var $; try { $ = require('jquery') } catch (e) {}
return factory($, require('blobjs'), require('file-saverjs'), require('xlsx'));
});
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
var $; try { $ = require('jquery') } catch(e) {}
var $; try { $ = require('jquery') } catch (e) {}
module.exports = factory($, require('blobjs'), require('file-saverjs'), require('xlsx'));
} else {
// Browser globals
Expand Down Expand Up @@ -106,7 +106,6 @@
};
})();

// TODO: fix logic for: rowspan, colspan
context.rcMap = new RowColMap().build.call(self, context);

var formatMap = {};
Expand Down Expand Up @@ -143,7 +142,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: '4.1.0-rc.1',
version: '5.0.0-rc.1',
/**
* Default library options.
* @memberof TableExport.prototype
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 v4.1.0-rc.1
// Type definitions for TableExport v5.0.0-rc.1
// Project: https://tableexport.v4.travismclarke.com
// Definitions by: Travis Clarke <https://github.com/clarketm>

/*!
* TableExport.js v4.1.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
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": "4.1.0-rc.1",
"version": "5.0.0-rc.1",
"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 v4.1.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.1 (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 v4.1.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand Down
9 changes: 4 additions & 5 deletions src/stable/js/tableexport.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* TableExport.js v4.1.0-rc.1 (https://www.travismclarke.com)
* TableExport.js v5.0.0-rc.1 (https://www.travismclarke.com)
*
* Copyright (c) 2017 - Travis Clarke - https://www.travismclarke.com
*
Expand All @@ -22,12 +22,12 @@
if (typeof define === 'function' && define.amd) {
// AMD
define(function (require) {
var $; try { $ = require('jquery') } catch(e) {}
var $; try { $ = require('jquery') } catch (e) {}
return factory($, require('blobjs'), require('file-saverjs'), require('xlsx'));
});
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
// CommonJS
var $; try { $ = require('jquery') } catch(e) {}
var $; try { $ = require('jquery') } catch (e) {}
module.exports = factory($, require('blobjs'), require('file-saverjs'), require('xlsx'));
} else {
// Browser globals
Expand Down Expand Up @@ -106,7 +106,6 @@
};
})();

// TODO: fix logic for: rowspan, colspan
context.rcMap = new RowColMap().build.call(self, context);

var formatMap = {};
Expand Down Expand Up @@ -143,7 +142,7 @@
* Version.
* @memberof TableExport.prototype
*/
version: '4.1.0-rc.1',
version: '5.0.0-rc.1',
/**
* Default library options.
* @memberof TableExport.prototype
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 061bf62

Please sign in to comment.