Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Siemienik committed Jul 29, 2020
1 parent ac90b31 commit eaa4186
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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": "xlsx-renderer",
"version": "2.2.0",
"version": "2.2.1",
"description": "Allows render xlsx files based on template supplied by viewModel.",
"main": "lib/Renderer.js",
"types": "lib/Renderer.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/cell/ForEachCell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class ForEachCell extends BaseCell {
return scope.getCurrentTemplateString().split(' ')[2];
}

protected static shiftMergedCells(__end: ICellCoord, __start:ICellCoord, scope: Scope) {
protected static shiftMergedCells(__end: ICellCoord, __start: ICellCoord, scope: Scope) {
const shiftByR = __end.r - __start.r;
const outputWorksheet = scope.output.worksheets[scope.outputCell.ws];
// TODO fix ts-ignore ( @see https://github.com/Siemienik/xlsx-renderer/issues/46 )
Expand Down Expand Up @@ -78,7 +78,7 @@ export class ForEachCell extends BaseCell {
// TODO set types
const __start: ICellCoord = (scope.vm[target] && scope.vm[target].__start) || scope.templateCell;
const __startOutput = (scope.vm[target] && scope.vm[target].__startOutput) || scope.outputCell.r + 1;
const __end:ICellCoord= scope.vm[target] && scope.vm[target].__end;
const __end: ICellCoord = scope.vm[target] && scope.vm[target].__end;
const __last = typeof __from.split('.').reduce((p, c) => p[c] || {}, scope.vm)[__index] === 'undefined';
let __endOutput = scope.vm[target] && scope.vm[target].__endOutput;
let __insetRows = (scope.vm[target] && scope.vm[target].__insetRows) || false;
Expand Down

0 comments on commit eaa4186

Please sign in to comment.