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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ Broadly, jsdiff's diff functions all take an old text and a new text and perform
96
96
*`oldHeader` : Optional additional information to include in the old file header. Default: `undefined`.
97
97
*`newHeader` : Optional additional information to include in the new file header. Default: `undefined`.
98
98
*`options` : An object with options.
99
-
-`context` describes how many lines of context should be included.
99
+
-`context` describes how many lines of context should be included. You can set this to `Number.MAX_SAFE_INTEGER` or `Infinity` to include the entire file content in one hunk.
100
100
-`ignoreWhitespace`: Same as in `diffLines`. Defaults to `false`.
101
101
-`stripTrailingCr`: Same as in `diffLines`. Defaults to `false`.
102
102
-`newlineIsToken`: Same as in `diffLines`. Defaults to `false`.
0 commit comments