Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 6, 2019
1 parent 1131ce9 commit 1c0ea3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/contain.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const containTest = function(nodesMapA, nodesMapB) {
)
}

const containNode = function(nodeA = {}, nodeB = {}) {
const containNode = function(nodeA, nodeB = {}) {
return nodeA.add === nodeB.add
}

Expand Down

0 comments on commit 1c0ea3f

Please sign in to comment.