Skip to content

Commit

Permalink
Merge pull request #26 from TH-coder/patch-1
Browse files Browse the repository at this point in the history
Update diff.js
  • Loading branch information
livoras authored Dec 8, 2020
2 parents 92856ae + f889da1 commit 4369a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function dfsWalk (oldNode, newNode, index, patches) {

// Node is removed.
if (newNode === null) {
// Real DOM node will be removed when perform reordering, so has no needs to do anthings in here
// Real DOM node will be removed when perform reordering, so has no needs to do anything in here
// TextNode content replacing
} else if (_.isString(oldNode) && _.isString(newNode)) {
if (newNode !== oldNode) {
Expand Down

0 comments on commit 4369a02

Please sign in to comment.