diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-05-12 21:53:55 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-05-12 21:53:55 +0100 |
| commit | 5b8c7012f7f13efc867b2dda7b49455fde62dbbc (patch) | |
| tree | 6dee79b3f6fe19227ef084c48dca0960c9dba971 | |
| parent | 6e5159d7314ef473b35eb857d1cb00aca6169116 (diff) | |
Remove unused rowIndex argument
| -rw-r--r-- | lib/docx/body-reader.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js index 0849aa1..5474dd5 100644 --- a/lib/docx/body-reader.js +++ b/lib/docx/body-reader.js @@ -268,7 +268,7 @@ function BodyReader(options) { var columns = {}; - rows.forEach(function(row, rowIndex) { + rows.forEach(function(row) { var cellIndex = 0; row.children.forEach(function(cell) { if (cell._vMerge === "continue" && columns[cellIndex]) { @@ -281,7 +281,7 @@ function BodyReader(options) { }); }); - rows.forEach(function(row, rowIndex) { + rows.forEach(function(row) { row.children = row.children.filter(function(cell) { return !cell._delete; }); |
