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

Commit

Permalink
clean code #923
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunkat committed Jun 27, 2017
1 parent 4aa95db commit 58243c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/actions/WindowActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,8 +826,6 @@ export function mapIncluded(
let ind = indent ? indent : [];
let result = [];

let includedMap = [];

const nodeCopy = Object.assign({}, node, {
indent: ind
});
Expand All @@ -839,7 +837,6 @@ export function mapIncluded(
}

if(node.includedDocuments){
includedMap = includedMap.push(node);
for(let i = 0; i < node.includedDocuments.length; i++){
let copy = node.includedDocuments[i];
if(i === node.includedDocuments.length - 1){
Expand Down

0 comments on commit 58243c3

Please sign in to comment.