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

Commit

Permalink
v3.2.10 – fixed issue with consecutive rowspan/colspan being ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Clarke authored and Travis Clarke committed Sep 9, 2016
1 parent 0e77b2c commit e9a56a1
Show file tree
Hide file tree
Showing 10 changed files with 24 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": "3.2.9",
"version": "3.2.10",
"authors": [
"clarketm <travis.m.clarke@gmail.com>"
],
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 v3.2.9 (https://www.travismclarke.com)
* TableExport.js v3.2.10 (https://www.travismclarke.com)
* Copyright 2016 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 v3.2.9 (https://www.travismclarke.com)
* TableExport.js v3.2.10 (https://www.travismclarke.com)
* Copyright 2016 Travis Clarke
* Licensed under the MIT license
*/
Expand Down Expand Up @@ -74,9 +74,6 @@
if (!!~ignoreCols.indexOf(ic) || $(val).is(ignoreCSS)) {
return;
}
if (rcMap[ir] && rcMap[ir][ic]) {
return new Array(rcMap[ir][ic]).concat($(val).text());
}
if (val.hasAttribute('colspan')) {
rcMap[ir] = rcMap[ir] || {};
rcMap[ir][ic+1] = val.getAttribute('colspan') - 1
Expand All @@ -87,6 +84,9 @@
rcMap[ir+i][ic] = 1
}
}
if (rcMap[ir] && rcMap[ir][ic]) {
return new Array(rcMap[ir][ic]).concat($(val).text());
}
return $(val).text();
}).get()];
}).get(),
Expand All @@ -112,9 +112,6 @@
if (!!~ignoreCols.indexOf(ic) || $(val).is(ignoreCSS)) {
return;
}
if (rcMap[ir] && rcMap[ir][ic]) {
return new Array(rcMap[ir][ic]).concat($(val).text());
}
if (val.hasAttribute('colspan')) {
rcMap[ir] = rcMap[ir] || {};
rcMap[ir][ic+1] = val.getAttribute('colspan') - 1
Expand All @@ -125,6 +122,9 @@
rcMap[ir+i][ic] = 1
}
}
if (rcMap[ir] && rcMap[ir][ic]) {
return new Array(rcMap[ir][ic]).concat($(val).text());
}
return $(val).text();
}).get()];
}).get(),
Expand Down
4 changes: 2 additions & 2 deletions dist/js/tableexport.min.js

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

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": "3.2.9",
"version": "3.2.10",
"authors": [
"clarketm <travis.m.clarke@gmail.com>"
],
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 v3.2.9 (https://www.travismclarke.com)
* TableExport.js v3.2.10 (https://www.travismclarke.com)
* Copyright 2016 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.

Loading

0 comments on commit e9a56a1

Please sign in to comment.