You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,10 @@ or
39
39
40
40
Returns a list of change objects (See below).
41
41
42
+
*`JsDiff.diffLinesNL(oldStr, newStr[, callback])` - diffs two blocks of text, comparing line by line. This differs from `diffLines` in that the newline character is treated as a distinct token. This allows for changes to the newline structure to occur independently of the line content and to be treated as such. In general this is the more human friendly form of `diffLines` and `diffLines` is better suited for patches and other computer friendly output.
43
+
44
+
Returns a list of change objects (See below).
45
+
42
46
*`JsDiff.diffSentences(oldStr, newStr[, callback])` - diffs two blocks of text, comparing sentence by sentence.
0 commit comments