Skip to content

Commit

Permalink
style(Layout): remove useless variable
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Oct 11, 2017
1 parent 966fd02 commit 5b39ea3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/layouts/JustifiedLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ class JustifiedLayout {
const pos1Name = style.pos1;
const size1Name = style.size1;
const pos2Name = style.pos2;
const endPos2Name = style.endPos2;
const size2Name = style.size2;
const length = path.length;
const margin = this._options.margin;
Expand Down Expand Up @@ -116,7 +115,6 @@ class JustifiedLayout {
item.rect = {
[pos1Name]: pos1,
[pos2Name]: pos2,
[endPos2Name]: pos2 + size2,
[size1Name]: size1,
[size2Name]: size2,
};
Expand Down

0 comments on commit 5b39ea3

Please sign in to comment.