Skip to content

Commit

Permalink
fix deepClone ref to deepCopy
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderpick committed Feb 22, 2017
1 parent e196a7f commit 7071344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ var deepClone = exports.deepClone = function (src, _visited, _copiesVisited) {

var i = ret.length;
while (i--) {
ret[i] = deepCopy(ret[i], _visited, _copiesVisited);
ret[i] = deepClone(ret[i], _visited, _copiesVisited);
}
return ret;
}
Expand Down

0 comments on commit 7071344

Please sign in to comment.